i am using Eclipse as my IDE, JBoss as my AS, Postgres as my Database server. when i am trying to connect database from my action class its get connected but when i'm using EJB and trying to connect i get error "javax.naming.NameNotFoundException: jdbc not bound". i'm having class to get connection. code is as simple as
Barun, Your question has nothing to do with JDBC -- it has to do with how you are configuring "JBoss". Hence I suggest you try the EJB and the JBoss forums.