Package com.acrm.client.entity.staff

Examples of com.acrm.client.entity.staff.Staff


    ClientConnectionManager connectionManager = new ThreadSafeClientConnManager(params,schemeRegistry);
    HttpClient client=new DefaultHttpClient(connectionManager,params);
   
    //HttpPost post=new HttpPost("http://localhost:8080/XCFServer1");
    HttpPost post=new HttpPost("http://localhost:8080/CRMServer/test/ctaclist.action");
    Staff s=new Staff();
    s.setStaffName("guxuede");
    SerializableEntity entity=new SerializableEntity(s, true);
    post.setEntity(entity);
    System.out.println("start");
    client.execute(post, new ResponseHandler<Void>() {
      @Override
View Full Code Here


import com.caucho.hessian.io.Hessian2Output;

public class HessianDemo {
  public static void main(String[] args) throws IOException {
    SoftReference sr;
    Staff s=new Staff();
    s.setStaffCD("guxuede");
    s.setLevel(100);
   
    readObject_Hessian(writeObject_Hessian(s));
    //writeObject_JDK(s);
  }
View Full Code Here

TOP

Related Classes of com.acrm.client.entity.staff.Staff

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.