Hi Raskri,
Your post was really useful for me, I found it as the second link in my first
googling attemp (jboss "backing beans" admin) ;-).
I'd like to know why JBoss doesn't supply a richer admin interface: there's no
way to see which JNDI path was applied to a resource, I still didn't find
That's a good tip. Thanks for sharing it. I bet many others will have the
same problem. So, I've updated our wiki for
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithJSFCDDL
Stan
http://jsf.jboss.org
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026984
OK I got the solution after some googling.(FGI)
I tried to create the connection by adding:
private NewSession bean = new NewSessionBean();
->but this didn't "create" or "inject" the EntityManger, so i got another
NullPointerException saying that EntityMager was NULL.
In the web.xml web-app
OK here is some of my code:
INTERFACE:
@Local
public interface NewSession {
String addFugl(String norsk, String latinsk);
}
BEAN:(Fugl is an EntityBean)
@Stateless()
public class NewSessionBean implements NewSession {
@PersistenceContext
private EntityManager em;
public New
I know about Seam but i cant use Seam in this case. It's a school project. Not
allowed. They teach EJB 2.0 witch sucks, so i started to use 3.0. Just need
some examples where an entity bean is persisted through a session bean through
jsf...
View the original post :
http://www.jboss.com/index.h
Seam ships with lots of good examples.
http://labs.jboss.com/portal/jbossseam
For general JBoss/JSF info, see http://jsf.jboss.org
Stan
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026730#4026730
Reply to the post :
http://www.jboss.com/index.html?module