This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services Certification (SCDJWS/OCEJWSD) and the fly likes JAX-WS True/False? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Services Certification (SCDJWS/OCEJWSD)
Bookmark "JAX-WS True/False?" Watch "JAX-WS True/False?" New topic
Author

JAX-WS True/False?

Alim Atar
Ranch Hand

Joined: Oct 06, 2006
Posts: 102

Is this true?
Question1 :- A JAX-WS client can access a web service that is not running on java platform and contrariwise?

Question 2:- All session beans and MDB needs to have business interface?-->for this question answer is false, but my question is , in real bean projects in which scenario we need such kind of session beans without business interfaces?

Any highlights appreciated


Regards,
Alim

SCEA/OCMJEA Part1,SCBCD1.5,SCWCD1.4,SCJP1.4,SQL(Z007)
Alim Atar
Ranch Hand

Joined: Oct 06, 2006
Posts: 102

I just split question 2 in two questions,

Question 2:- All session beans needs to have business interface?-->I think answer is true from usage point of view but from coding point of view is this mandatory to have business interface ?

Question 3:- All MDB needs to have business interface?-->answer is false
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Q1: Of course - this is the point of web services; to enable interaction in heterogeneous environments.
Q2: With EJB 3.1, there is the no-interface view which is a local view only accessible by components in the same application.
Q3: Message driven beans never have a business interface, since they are only accessible by sending a message (most commonly JMS) to a message queue or topic.
This is useful if you want a component with more loose coupling to its clients.
Best wishes!


My free books and tutorials: http://www.slideshare.net/krizsan
Alim Atar
Ranch Hand

Joined: Oct 06, 2006
Posts: 102


Hi Ivan,
Thanks for your answers,
Q1 and Q3 -was very much crystal clear to me.
I was doubt about Q2 (because i don't hands-on though i am SCBCD1.5 certified )but now its also clear to me with your answer


Hi Andrew ,
Thank you for putting question back and for Marshaling posts nicely to keep forums reputation.


 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAX-WS True/False?
 
Similar Threads
Passed SCDJWS CX-310-220
JAX-WS Servlets and Stateless Beans
Doubt on a web tier Question from Cade & Humphrey's Study Guide 2nd edition
Guidance for context management in SOA JWS?
WS Addressing and State..