8 Replies Latest reply on May 18, 2009 12:47 AM by Mike Wilson

    simplest possible servlet app

    Mike Wilson Newbie

      I'm trying to put together a really small example using WebBeans RI in a basic servlet app. WebBeans kicks in but doesn't instantiate MyService for me (null in doGet). Here's the code:

      public class MyServlet extends HttpServlet {
           @Current MyService service;
           protected void doGet(...) ... {
      public class MyService {

      Obviously, I'm missing something...?