aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes JNDI in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "JNDI in eclipse" Watch "JNDI in eclipse" New topic
Author

JNDI in eclipse

Jenna Thomas
Greenhorn

Joined: Oct 03, 2005
Posts: 27
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!


Cheers!
Jenn SCJP1.5
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19760
    
  20

As this is an Eclipse specific question I'll move this thread to our IDEs forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5843
    
    7

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.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JNDI in eclipse