The realization of socialized service of agricultural machinery under the J2EE framework was researched, as well as the security prob-lems in application system under J2EE model, including identity authentication, access control, data transmission security and J2EE components security.Based on these security problems, the corresponding solution to the SSL secure proxy server under the EJB access control and single sign-on option was put forward by combining with the J2EE secure mechanism.