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 / Databases / June 2004

Tip: Looking for answers? Try searching our database.

EJB VO and Mutability

Thread view: 
SMMT - 27 May 2004 00:01 GMT
Hi!,

I read that people are using Value Objects (VO) with Entity JB because is
better in terms of RMI. But, for my project I need to used diferent VO for
the same Entity so the program can adopt to diferent clients.  I thought
that using diferent VO and a general way for reading then was enought but I
also read that you need to declare the get and set methods abstract for the
EJB so the container can implemente them. ( I thought using CMP)
Without using BMP (Bean Managed Persistence) do have any idea ou know any
design pattern to resolve this issue ?

The ideia is that the system allways manipulates the same Entity, but the
entity details differ from client to client. (If the client makes cars the
details will be color, model, etc.. if the client produces furneture, the
details will be the the size, the type of material, etc..)
Aidan - 10 Jun 2004 14:47 GMT
> The ideia is that the system allways manipulates the same Entity,
> but the entity details differ from client to client. (If the
> client makes cars the details will be color, model, etc.. if the
> client produces furneture, the details will be the the size, the
> type of material, etc..)

Not quite sure what kind of CMP EJB you are planning - something
with generic text fields?

You might want to look at https://strutsejb.dev.java.net/
StrutsEJB which has an example of using dynamic map based VOs with
CMP EJBs.

A.


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



©2008 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.