[JBoss-user] [EJB 3.0] - Re: Problem with ejb and Servlet
The annotations for local and remote jndi binding are LocalBinding and RemoteBinding, respectively. The @Local and @Remote annotations are used to specify the local and remote bean interfaces, respectively View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925952#3925952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925952 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with ejb and Servlet
Yogendra, The annotations are @Remote and @Local for local and remote binding. Vivek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925925#3925925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925925 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with ejb and Servlet
Hi, I have faced these issues in my short experience with jboss. Here are few points that i have found in this regards. IMPORTANT install JBoss4.0.4RC1 with ejb3 configuration it says not compliant with j2ee 1.4 but works fine 1) Deploying Session Bean (lets say MyBean) as a part of an .ear will bind it to the /MyBean/local and /MyBean/remote. Depending on what interfaces you have supplied while implementing. IMPORTANT not its not in java namespace 2) If the Session Bean is deployed on its own then its will bind to MyBean/remote and MyBean/local, again depending on interfces that you implement. 3) In order to modify this behaviour, use @RemoteBinding and @LocalBinding in the class definition. Now the problem with 3rd approach is that in JBoss4.0.0RC1 doesn't work, the reason is that I am not able to locate both the annotation RemotBinding and LocalBinding in the jars supplied. I am using JBossIDE itself to develop my aplication. I have no clue why isnt anything mentioned abt it. I have scaned the use net too... but no success. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925894#3925894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925894 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with ejb and Servlet
I am testing, but I happen the same. I don't know why? Any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925841#3925841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925841 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with ejb and Servlet
Found the solution (at least to my problem) Here is the solution http://jboss.com/index.html?module=bb&op=viewtopic&t=76492 He is talking about this change that was made http://jira.jboss.com/jira/browse/EJBTHREE-393 One last last note.. when i tried to change the lookup string to what i thought it should be in from what i read in the first url above I still go an error I had to write something like context.lookup("xxx/AuthorsBean/remote"); instead of context.lookup("AuthorsBean/remote"); "xxx" was the servlet name.. or something like that. I simply opened up the jmx console and when to the jndi view to see where my ejbs where located in the tree. Before I was doing context.lookup(Authors.class.getName()); which use to work until they changed the default JNDI binding for ejbs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925731#3925731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925731 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Problem with ejb and Servlet
I too am having an issue. I was using 4.0.3 SP1 (I think) and just upgraded to 4.0.4 RC1 and now get something like this person. When the application deploys I, just like this person, see something like the following in the output 10:29:01,846 FATAL [PersistenceXmlLoader] test JTA (For me it doesn't say test. It says what i called the persitense entity manager in my persistence.xml) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925728#3925728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925728 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user