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 Architect Certification (SCEA/OCMJEA) and the fly likes SCEA assignment doubts 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 » Architect Certification (SCEA/OCMJEA)
Bookmark "SCEA assignment doubts" Watch "SCEA assignment doubts" New topic

SCEA assignment doubts

ananthakrishnan ramachandran
Ranch Hand

Joined: Jan 24, 2011
Posts: 52
I have a requirement that the application interacts with external web service.User interacts with the application to search and add certain items (obtained from the webservice).My questions are :
1).whether stateless or stateful session bean can be used in this scenario.

2).What design pattern can be used to interact with the webservice.

thanks and regards
Will Myers
Ranch Hand

Joined: Aug 05, 2009
Posts: 319

well you have to ask some questions, like:
- what sort of session beans can talk to web services?
- do you want to call web services direct from the session bean?
- do you want the conversation with the client to have state?
- what's the impact on the non functional requirements of each type of bean?

as for the pattern you use, you need to look at the pattern catalogue and see if any would be a sensible fit and would make the design better in terms of maintainability, scalability, performance, extensibility, reliability, etc. I would think that DAO, MVC, and Front Controller would be in there somewhere....
It is sorta covered in the JavaRanch Style Guide.
subject: SCEA assignment doubts
Similar Threads
application does not connects to internet on actual mobile device
Need some sugession to chhose a WebService Technology
Webservice sample application
WebService Problem
how to call a webservice in java client code to update record in the database