Hi Andrew, Mark, and ALL!

The CMP2.x spec allows declaring EJBs as local objects.

The advantage of the local EJB objects is that they don't get
serialized/deserialized(I think) and pass-by-reference and not by-value.

Effectively, If you use a LocalEJB, you have the flexibitly of making
the REMOTE with very few changes to code. 

People, please correct me if I am wrong.


Kunal
-----Original Message-----
From: Andrew Hill [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 8 October 2003 21:20
To: Struts Users Mailing List
Subject: RE: ejb's and tomcat

Nonsense!
In the same way acronyms look great on resumes, they also look just
super on
product brochures.
If you use EJBs you can proudly proclaim that your application is "based
on
J2EE EJB technology"!
This is useful for impressing clueless manager types even if EJBs confer
no
actual technical advantage (and often many disadvantages) to what your
trying to do.

btw: afaik its not just distributed stuff but also transaction type
stuff
its good for (but lets face it - most dbs do enough in that regards for
most
apps transaction needs already)

-----Original Message-----
From: Mark Galbreath [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 8 October 2003 19:04
To: Struts Users Mailing List
Subject: RE: ejb's and tomcat


If you are asking these questions, you probably should not be using EJB.
The ONLY reason to use EJB is if you are developing a distributed
application; anything else is overkill.  If you simply need data
persistence, use JDBC and use DAO, or one of the persistence frameworks:
Ibatus, Hibernate, or Kodo-JDO.

Mark

-----Original Message-----
From: ajay brar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 9:51 PM
To: [EMAIL PROTECTED]
Subject: ejb's and tomcat


Hi!
does tomcat support ejb's. I'm building a web app which uses struts. i'm
using  ejb's  for the model part.
can i deploy the ejb component on tomcat?
what other alternate ways are there to do so?

thanks
cheers
ajay

_________________________________________________________________
ninemsn Premium transforms your e-mail with colours, photos and animated
text. Click here  http://ninemsn.com.au/premium/landing.asp


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to