Advertisement
Guest User

GWT Servlet

a guest
Nov 30th, 2011
105
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package de.fhdo.focus.server;
  2.  
  3. import javax.ejb.EJB;
  4.  
  5. import com.google.gwt.user.server.rpc.RemoteServiceServlet;
  6.  
  7. import de.fhdo.focus.client.BeanService;
  8. import de.test.gwt.SampleBeanLocal;
  9.  
  10. public class BeanServiceImpl extends RemoteServiceServlet implements
  11.         BeanService {
  12.  
  13.     private static final long serialVersionUID = 1L;
  14.  
  15.     @EJB
  16.     SampleBeanLocal bean;
  17.  
  18.     public String createCompany(String text) throws Exception{
  19.         return bean.createCompany(text);
  20.     }
  21. }
  22.  
  23.  
  24.  
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement