aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes EJB & Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB & Servlet" Watch "EJB & Servlet" New topic
Author

EJB & Servlet

Douggie Fox
Greenhorn

Joined: Jun 14, 2001
Posts: 19
Hi,
I'm struggling to find a discussion on how Servlets & EJBs might interact with each other. Can anyone point me to any relevant resource either here at javaranch or elsewhere on the internet? I'm particularly interested in some example code that I can play around with.
Best
DF
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
The Sun J2EE Patterns page might be a good start to see how things can be put together.
The PetShop application (search Sun for that, too) is a complete example of what Sun thought were best practices at that instant in time. There is a lot of debate about parts of the design because Sun set out to demonstrate all the features of J2EE, not to show the best choice for every situation. Nearly anybody who can spell Java could have done it better. Just ask em.
Look at The Server Side too. Ed and the gang have several complete - and pretty good - books available in PDF.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Kishore Dandu
Ranch Hand

Joined: Jul 10, 2001
Posts: 1934
You would also want to go through the J2EE tutorial in java.sun.com.
This will give you a perspective regarding different technologies that are a part of J2EE. I am saying this because there are alternative to Servlets that may serve your purpose.
By the way, you would also want to look at a new approach called JSF(Java server faces) which is reviewed to be barebones for web client implementations, but can become big time with couple of revisions.
Dan.


Kishore
SCJP, blog
 
Don't get me started about those stupid light bulbs.
 
subject: EJB & Servlet