Ok sorry, I jumped the last part of your answer... That could be it because that thing of
lookup is not very clear to me.
My interface :
| package org.eu.nuadu.cuore.bd.query;
| import datamodel.DAO.SystemUser;
|
| public interface QueryInt {
| public abstract SystemUser AuthenticateUser(String uid, String pwd);
| }
|
And code which uses the EJB:
| package ws.process;
|
| import org.eu.nuadu.cuore.bd.query.Query;
| import org.eu.nuadu.cuore.datamodel.DAO.SystemUser;
|
| public class Authentication {
|
| public void authenticate(){
|
| SystemUser _SystemUser = new
Query().AuthenticateUser("july","1234");
| if (_SystemUser != null)
| System.out.println(_SystemUser.getIdSystemUser());
| }
| }
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153388#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...