Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

SCEA assignment doubts

 
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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
R.Ananthakrishnan
 
Ranch Hand
Posts: 462
Scala jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
    Bookmark Topic Watch Topic
  • New Topic