Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > J2EE
|
J2EE General J2EE (Java 2 Enterprise Edition) discussions. Questions not specific to EE will be redirected elsewhere.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the J2EE section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 28th, 2005, 02:49 AM
Registered User
 
Join Date: Dec 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to arun_sunmic
Default J2EE with out EJB

          Hai i am arun.I have developed an online shopping cart application using jsp,servlets and java beans.When i go for a big project is it possible to deploy an application without EJB.Will it be efficient?.Please give me some suggestions regarding this.

V.S.Arun
 
Old January 16th, 2006, 06:07 AM
Friend of Wrox
 
Join Date: Jan 2006
Posts: 198
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Efficiency should not be an issue. But what will happen to your application if the database goes down while you're in the middle of doing one of your queries? Will half the query get executed? What will happen to the other half -- maybe the customer will be charged, but the shipping order won't go out?

EJBs will help simplify your code around handling these transactional cases. It will actually make your code slower, but it won't be as much work to write. If you're not planning on many sales going through the system, or the price of occasional errors is manageable, then your non-EJB implementation will likely be fine.

Jon Emerson
http://www.jonemerson.net/
 
Old January 16th, 2006, 07:16 AM
Registered User
 
Join Date: Dec 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to arun_sunmic
Default

    Thanks Mr.Jon Emerson for your comments on my topic.

V.S.Arun





Similar Threads
Thread Thread Starter Forum Replies Last Post
J2EE 1.3 AND FedoraCore 4 j2ee -verbose DR POMPEII J2EE 1 April 16th, 2007 03:50 AM
EJB 3.0 GLichten BOOK: Expert One-on-One J2EE Design and Development 0 December 1st, 2005 06:02 AM
J2EE & EJB vaishalimk J2EE 0 November 18th, 2005 03:00 AM
Kickstart non-EJB object in J2EE container Waldo Nell J2EE 0 August 31st, 2003 05:37 AM
Beginning J2EE 1.4 - EJB Fundamentals bbuckholz All Other Wrox Books 0 July 3rd, 2003 10:40 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.