Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Proposal for global JNDI support in future Virgo releases
Proposal for global JNDI support in future Virgo releases [message #1703990] Thu, 06 August 2015 12:40
GianMaria Romanato is currently offline GianMaria RomanatoFriend
Messages: 72
Registered: July 2009
Member
Hello,

when I first started using Virgo more than 2 years ago, I had trouble finding a convenient approach for establishing database connections using EclipseLink.

To cut a long story short, I eventually ended up implementing a fragment for the catalina bundle in order to register a custom InitialContextFactoryBuilder in the JNDI SPI that would be just a proxy over Tomcat JNDI support, so that I could use plain old InitialContext().lookup() in Virgo to lookup resources declared in tomcat-server.xml

I understand that this is not 100% OSGi aware, but the other two OSGi App Servers I know of, Apache Karaf and WebSphere Liberty, both provide an optional feature that enables the same behaviour, and IMHO this largely reduces the learning curve for new users.

So, I would like to ask the project team to evaluate the possibility to include a similar feature OOTB in Virgo 3.7.x.
If you are interested, I can share the code and I am also willing to help out in the implementation.

GianMaria.


Developing for Virgo using PDE: http://bit.ly/1w0tTit
Global JNDI in Virgo: http://bit.ly/1to42mn
Hyperic to monitor Virgo: http://bit.ly/W1Fst9
Profile Virgo with JProfiler http://bit.ly/1FBLGCw
Previous Topic:Neo4j on Eclipse Virgo
Next Topic:Virgo 3.6.4 and Debian package or puppet integration
Goto Forum:
  


Current Time: Thu Nov 15 04:16:13 GMT 2018

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

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

Back to the top