Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.server.tampil;
- import java.util.List;
- import javax.ejb.EJB;
- import javax.jws.WebMethod;
- import javax.jws.WebService;
- import koneksi.Koneksi;
- @WebService(serviceName = "TampilMahasiswa")
- public class TampilMahasiswa
- {
- @EJB
- private Koneksi ejbRef;// Add business logic below. (Right-click in editor and choose)
- // "Insert Code > Add Web Service Operation")
- @WebMethod(operationName = "mahasiswaMethod")
- public List mahasiswaMethod()
- {
- return ejbRef.mahasiswaMethod();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment