Another alternatice is that could place the table object in JNDI and then it
can be shared.
Regards
Rob Masters
Sun Certified Java Programmer
Comcare Australia
(w) 02 6275 0632
(f) 02 657 4045
[EMAIL PROTECTED]
http://www.comcare.gov.au
> -----Original Message-----
> From: Shiraz Wasim Zaidi [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, 25 June 1999 15:13
> To: [EMAIL PROTECTED]
> Subject: Refrence/Directory table data
>
> Say we have a Refrence/Directory table TIMEZONE having 2 columns code and
> description.
> The desciptions has to be shown in a choice in the UI.
>
> As the data is more or less static it would make sense to get the data
> once and store it at the server
> which multiple clients can share.
>
> I can use Workspace in Weblogic , but then it would be vendor specific and
> thus portability would be lost.
>
> The only possible way i can think of implementing it is by making a RMI
> server which can be shared
> by multiple user.
>
> RMI server would publish following methods in the interface
> String[] getAllDescriptions() // would be used by the UI client
> String getCodeForDescription(String desc) // would be used by session bean
> to do the mapping ( to store in the db )
> String getDescriptionForCode(String code) // would be used by session bean
> to do the reverse mapping ( to show in the UI)
>
> Is this a right way to do in a EJB Server Environment?
> Would appreciate any better pointers....
>
> Thanks,
> Shiraz Wasim Zaidi
>
>
>
>
>
>
>
>
>
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".