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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...