BlasToIce

Script_P5_Tampil

Dec 21st, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. package com.server.tampil;
  2.  
  3. import java.util.List;
  4. import javax.ejb.EJB;
  5. import javax.jws.WebMethod;
  6. import javax.jws.WebService;
  7. import koneksi.Koneksi;
  8.  
  9. @WebService(serviceName = "TampilMahasiswa")
  10. public class TampilMahasiswa
  11. {
  12. @EJB
  13. private Koneksi ejbRef;// Add business logic below. (Right-click in editor and choose)
  14. // "Insert Code > Add Web Service Operation")
  15.  
  16. @WebMethod(operationName = "mahasiswaMethod")
  17. public List mahasiswaMethod()
  18. {
  19. return ejbRef.mahasiswaMethod();
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment