Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Where to keep DB connection handles in RCP ?
Where to keep DB connection handles in RCP ? [message #248715] Thu, 03 June 2004 05:37 Go to next message
Eclipse UserFriend
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
IPlatformRunnable.run() ?

An EJB reference should exist only once per client and it should be
accessible from all code places.

Thanks,
Juergen
Re: Where to keep DB connection handles in RCP ? [message #758199 is a reply to message #248715] Tue, 22 November 2011 05:15 Go to previous message
Eclipse UserFriend
Hi Juergen,
Did you get the answer to your question? I too am having the same problem. Can you help?
regards,
Manoj
Previous Topic:Re use the "Tracing" Tab
Next Topic:"Colors and Fonts" edit button not working
Goto Forum:
  


Current Time: Wed Jul 23 19:23:31 EDT 2025

Powered by FUDForum. Page generated in 0.03666 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top