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:
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.