About Question enthuware.ocejws.v6.2.78 :

Moderators: Site Manager, fjwalraven

Post Reply
austinor
Posts: 41
Joined: Mon Oct 27, 2014 11:35 pm
Contact:

About Question enthuware.ocejws.v6.2.78 :

Post by austinor »

With the wsimport-generated artifacts, this is also possible:

Code: Select all

public class MathTableClient {

    public static void main( String[] args ) {
       MathTableImplService service = new MathTableImplService();
       MathTableService port = [b]service.getMathTableImplPort()[/b];
       SimpleMathTable table;
       try {
                table = port.getTable( new Integer(5) );
       }
       catch (NegException e) {}
    }
}

austinor
Posts: 41
Joined: Mon Oct 27, 2014 11:35 pm
Contact:

Re: About Question enthuware.ocejws.v6.2.78 :

Post by austinor »

This is what I wanted to highlight in bold above:

service.getMathTableImplPort()

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

Re: About Question enthuware.ocejws.v6.2.78 :

Post by fjwalraven »

Correct, and that option might come in a similar question ;)

Regards,
Frits

sttaq0442
Posts: 27
Joined: Tue Nov 15, 2016 11:20 am
Contact:

Re: About Question enthuware.ocejws.v6.2.78 :

Post by sttaq0442 »

Q: What are the correct characteristics of a WebService?

Two options are Fine Grained and Coarse Grained. There is nothing which prevents us from having fine grained services and in the second link it says that you can have fine grained services within the enterprise. So I am confused as this is not a hard and fast rule.

Is it safe to assume that WebServices MUST be Coarse Grained for this exam?

fjwalraven
Posts: 429
Joined: Tue Jul 24, 2012 2:43 am
Contact:

Re: About Question enthuware.ocejws.v6.2.78 :

Post by fjwalraven »

Is it safe to assume that WebServices MUST be Coarse Grained for this exam?
Yes, definitely.

Regards,
Frits

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests