• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNDI in eclipse

 
Jenna Thomas
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Im trying to go through the Sun Enterprise JAVA tutorial and trying to execute the examples in eclipse/jboss. This doesnt seem to be too tough a task, plus it gives a newbie like me a chance to learn eclipse better(thats what we work on primarily at work)
However, one aspect Im stuck on is trying to add a JNDI entry for a datasource. How is this done in eclipse? Is there a plugin to be used? Ive tried to use the plugin mentioned here:

http://renaud.waldura.com/software/java/com.waldura.eclipse.jndibrowser/.

But Im not too sure that its well supported (or even working with eclipse 3!)

So, could you please tell me what works for you!
Thanks for reading!
 
Rob Spoor
Sheriff
Pie
Posts: 20611
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As this is an Eclipse specific question I'll move this thread to our IDEs forum.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I understand this correctly, you are trying to run your app within JBoss AS from within Eclipse. And you are wondering how to set up a datasource. As far as I know there is no tool to do this for you (though there might be something for this in the JBoss Tools plugins for Eclipse); what I have always done is created a *-ds.xml file within the project and then used Ant to copy the *-ds.xml file to the deploy directory within JBoss AS.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic