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 / JavaBeans / September 2004

Tip: Looking for answers? Try searching our database.

Transfering an object within J2EE

Thread view: 
SMMT - 16 Aug 2004 03:07 GMT
I have this problem. I need to use an object in the client side, that is
gotten in on the server side, on a  non-web J2EE aplication.
Once I get this object I want to used locally and save it locally. Only when
the object on the server side changes ( its code is upgraded) I will
download it again. I think this could be made using RMI, but using EJB
tecnlogoly I can't do this, because only a reference is transfered and not
the object itself. I need the object on the client side because I what it to
run in the client machine , even if the server is down.

If I transfer a plain old java object (POJO) using a stateless EJB has a
factory , can I save the object locally ? And if yes how ?
news.libero.it - 10 Sep 2004 20:51 GMT
>I have this problem. I need to use an object in the client side, that is
>gotten in on the server side, on a  non-web J2EE aplication.
[quoted text clipped - 9 lines]
>
>  

Hi,
I 'm supposing you're talking about a java standalone program (clint
side) that need some kind of  code-synchronization with the server version.
You'd probably use java web start technology.
carlo
SMMT - 16 Sep 2004 14:34 GMT
> >I have this problem. I need to use an object in the client side, that is
> >gotten in on the server side, on a  non-web J2EE aplication.
[quoted text clipped - 12 lines]
> side) that need some kind of  code-synchronization with the server version.
> You'd probably use java web start technology.

No. In my project I will need to use some objects like validators and
converters that are used too ofen to use a Stateless Bean to do the
validation server side. I'm not developing for web, but a client / server
aplication.
My idea was, to look for the validator once , and cache it on the client
side. But for this to happen I need the object to be free of j2ee server
side string-attachments.


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.