|Where to keep DB connection handles in RCP ? [message #248715]
||Thu, 03 June 2004 09:37
Originally posted by: weberjn.hotmail.com|
In a J2EE Web application you'd put database connection handles or
references to EJBs into the ServletContext or the HttpSession. Both have
getAttribute and setAttribute methods.
Where would you put handles and references in an Eclipse RCP application?
IWorkbench's IPreferenceStore cannot store Objects.
And when do you open the connections? in ViewPart.init() or in
An EJB reference should exist only once per client and it should be
accessible from all code places.
Powered by FUDForum
. Page generated in 0.02208 seconds