Skip to main content



      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 08:40
Eclipse UserFriend
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.
Previous Topic:Neo4j on Eclipse Virgo
Next Topic:Virgo 3.6.4 and Debian package or puppet integration
Goto Forum:
  


Current Time: Tue Apr 29 22:06:40 EDT 2025

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

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

Back to the top