我认为是找不到EJB的远程接口
可是我不知道要把这个class放在服务器的什么地方
servlet的doGet方法:
  public void doGet(HttpServletRequest request, HttpServletResponse response) throws
      ServletException, IOException {
    response.setContentType(CONTENT_TYPE);
    PrintWriter out = response.getWriter();
    out.println("<html>");
    out.println("<head><title>BookShop</title></head>");
    out.println("<body bgcolor=\"#ffffff\">");
    BookShopEJB.BookinfoRemote book;
    try
    {
      Properties h = new Properties();
      h.put(Context.INITIAL_CONTEXT_FACTORY,"weblogic.jndi.WLInitialContextFactory");
      h.put(Context.PROVIDER_URL,"t3://132.113.64.14:7001");
      Context ctx = new InitialContext(h);
      Object obj = ctx.lookup("BookShopEJB.BookinfoRemote");
      BookShopEJB.BookinfoRemoteHome home = 
          (BookShopEJB.BookinfoRemoteHome)PortableRemoteObject.narrow(obj,
              BookShopEJB.BookinfoRemoteHome.class);
      book = home.findByPrimaryKey("B00005");
      out.println("<p>书名:" + book.getBookname() + "<p>");
      out.println("<p>价格:" + book.getPrice() + "<p>");
    }
    catch (Exception e)
    {
      /*....*/
    }