Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:37 Go to next message
Eclipse UserFriend
Originally posted by:

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.

Re: Where to keep DB connection handles in RCP ? [message #758199 is a reply to message #248715] Tue, 22 November 2011 10:15 Go to previous message
Manoj  is currently offline Manoj Friend
Messages: 3
Registered: July 2009
Junior Member
Hi Juergen,
Did you get the answer to your question? I too am having the same problem. Can you help?
Previous Topic:Nice to have
Next Topic:problems with classloader since i switch from M8 to RC1
Goto Forum:

Current Time: Sun May 27 12:16:02 GMT 2018

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

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

Back to the top