• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EBJ beginner question

 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

our team is developing a web app. One of the *requirements* is to remain stateless. In that case, do we pretty much rule out option of using Entity Bean?

Thanks,
P.Ingle
 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No. You can use EJBs(enity beans also).

All web application are stateless. You can still develop EJBs. Think Entity beans as your 'backend'. Session Beans(state less) as access layer to the backend.

For more info
http://c2.com/cgi/wiki?SessionBeanWrapsEntityBeans
 
Ranch Hand
Posts: 425
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

firstly, I'l say you to change the Name to follow proper naming poilicy of Java Ranch.

And yes regarding your query, if you use Stateless Session bean, you can surely use entity beans to be called from the S.Session beans, Infact that is very much commonly used in designing J2EE applications. And there are verious design patterns which states this method of calling Entity beans.

Cheers,
Rahul
 
No, tomorrow we rule the world! With this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic