[jboss-user] [EJB 3.0] - Re: Problem with EJB Injection in Servlet

2009-08-22 Thread sarabjit
Hey Jaikiran, Thanks for your reply. I tried using the same annotation in JBoss 5.1 but it gives the same error. I've now used pitchfork to support annotations in my servlets and web modules. One more quick question about shared libraries here. I've put my shared libs directly under ear. And

[jboss-user] [EJB 3.0] - Re: Problem with EJB Injection in Servlet

2009-08-22 Thread sarabjit
btw i already tried changing manifest to Class-Path: myjar.jar WEB-INF/lib/mywarlib.war View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4250991#4250991 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4250991

[jboss-user] [EJB 3.0] - Re: Auto generating entity beans

2009-08-13 Thread sarabjit
Thanks guys, just to answer to that. I used Hibernate tools. It works pretty pretty well and is easy to use. https://www.hibernate.org/hib_docs/tools/reference/en/html/plugins.html gives you more info. View the original post :

[jboss-user] [EJB 3.0] - Problem with EJB Injection in Servlet

2009-08-13 Thread sarabjit
Hey Guys, I know there is another similar thread but i couldn't find an answer there. It might be because am really new to EJB so well, please bear with me. I have a war and an ejb.jar which i package in an ear. I have 2 questions 1. Am not able to access the ejb from the servlet. Can someone

[jboss-user] [EJB 3.0] - Re: Problem with EJB Injection in Servlet

2009-08-13 Thread sarabjit
My ear structure is EAR |-Meta-inf |---|-application.xml-(defines-the-two-ejb-and-war-modules) |---|-jboss-app.xml-(empty) |-my-war.war |---|-WEB-INF |--|-web.xml-(no-declaration-of-ejb-here) |-myejb.jar |---|-META-INF

[jboss-user] [EJB 3.0] - Re: Auto generating entity beans

2009-08-05 Thread sarabjit
Thanks jaikiran and Wolfgang. Let me try these out. Will sure let you know what worked. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4248062#4248062 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4248062

[jboss-user] [EJB 3.0] - Auto generating entity beans

2009-08-04 Thread sarabjit
Hey Everyone, Am a newbie to EJB and EJB3. Am using postgres and was wondering if there is anyway i can autogenerate entity beans given a schema. Thanks for your help in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4247758#4247758 Reply to the