Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / October 2005

Tip: Looking for answers? Try searching our database.

Mixing javaveans and ejb

Thread view: 
jeromr@club-internet.fr - 18 Oct 2005 10:50 GMT
Hi all,

Is it possible to mix javabeans and ejb ?

I have to manipulate some simple objects into
my session beans, but i don't need this objects
to be persistent. Is it a bad design to replace
entities beans with javabeans in this case ?

Signature

Regards
Jerome

Jon Martin Solaas - 18 Oct 2005 11:21 GMT
> Hi all,
>
> Is it possible to mix javabeans and ejb ?

Yes, it is.

> I have to manipulate some simple objects into
> my session beans, but i don't need this objects
> to be persistent. Is it a bad design to replace
> entities beans with javabeans in this case ?

Entity Beans and JavaBeans are two entirely different things. It is bad
design to use Entity Beans where JavaBeans could have sufficed. Entity
Beans (and the EJB container) provides lots of services to the
programmer, and if they're not needed, it's a waste of resources to use
them.

Signature

jon martin solaas



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.