Page 1 of 1

About Question enthuware.ocejws.v6.2.78 :

Posted: Sun Nov 02, 2014 12:03 pm
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) {}
    }
}

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

Posted: Sun Nov 02, 2014 12:05 pm
by austinor
This is what I wanted to highlight in bold above:

service.getMathTableImplPort()

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

Posted: Mon Nov 03, 2014 2:42 pm
by fjwalraven
Correct, and that option might come in a similar question ;)

Regards,
Frits

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

Posted: Thu Nov 17, 2016 1:43 pm
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?

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

Posted: Thu Nov 17, 2016 2:16 pm
by fjwalraven
Is it safe to assume that WebServices MUST be Coarse Grained for this exam?
Yes, definitely.

Regards,
Frits