[jboss-user] [EJB 3.0] - Re: [FieldBeanProperty] failed to set value Proxy to jboss.j
buki79
do-not-reply at jboss.com
Mon Mar 23 16:24:09 EDT 2009
Hi,
the structure is for the web client
TwitterClient
|
--de.brotkasting.buki.cep.servlets.TwitterViewerServlet
The structure of the ejb project
TwitterPoCEJB
|
--de.brotkasting.buki.cep.beans.TwitterSessionBean
Here's the code:
-Servlet
| public class TweetViewerServlet extends HttpServlet {
|
| //inject EJB
| @EJB(name="TweetViewerBean",mappedName="EJBs/TweetViewerBean")
| private TwitterSessionBean bean;
|
-SessionBean
| @Stateful(name="TweetViewerBean",mappedName="EJBs/TweetViewerBean")
| public class TwitterSessionBean implements TwitterSessionBeanRemote,
| TwitterSessionBeanLocal{
|
Best regards,
Andreas
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4220411#4220411
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4220411
More information about the jboss-user
mailing list