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: 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 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?
regards,
Manoj
Previous Topic:Re use the "Tracing" Tab
Next Topic:"Colors and Fonts" edit button not working
Goto Forum:
  


Current Time: Fri Apr 19 12:26:04 GMT 2024

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

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

Back to the top