1 / 5

Enterprise Applications WS2003/04 Assignment-II

Enterprise Applications WS2003/04 Assignment-II. Team: Shashikanth. D Bharath Kumar. P Gopi Kishore. D. Web Service for Spices Information . The Business Logic for EJB-Application Developing Web Service Integrating Security in Web service. The Business Logic. Creating CMP Entity Bean

xue
Download Presentation

Enterprise Applications WS2003/04 Assignment-II

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Enterprise ApplicationsWS2003/04Assignment-II Team:Shashikanth. DBharath Kumar. PGopi Kishore. D

  2. Web Service for Spices Information • The Business Logic for EJB-Application • Developing Web Service • Integrating Security in Web service

  3. The Business Logic • Creating CMP Entity Bean • Connecting CMP Entity Bean with MySQL database using mysql.xml EJBComponents Database RMI SpicesInfo CMP EJB SpicesInfo Java Client

  4. Web Service Database • Creating a serializable Java Bean • Creating Stateless Session Bean • Mapping CMP Entity Bean with java Bean using Session Bean • Deploy Web service using deployment descriptor file web-service.xml • Testing Web service with SOAP Client SpicesInfo Java Client SOAP over HTTP SpicesInfo CMP EJB Apache-AXIS Pea17_SpicesInfo?wsdl Stateless Session EJB Web Components EJB Components

  5. Web Service Security • Generating keys and certificates for client and service • Writing Handlers for Client and Server • Specifying the service handler in Web service deployment descriptor file • Redeploying the Web service • Creating a Deployment descriptor for Client • Creating a SOAP Client • Monitoring encrypting and decrypting in TCP Monitor handleRequest(){ verify(cl_pubk); decrypt(sr_prvk); cleanup(); } handleRequest(){ sign(cl_prvk); encrypt(sr_pubk); } Session EJB service Java client client.ks server.ks cl_prvk, cl_pubk sr_prvk, sr_pubk AXIS server.ts client.ts Service Handler sr_pubk cl_pubk Client Handler Service JVM Client JVM handleResponse(){ verify(sr_pubk); decrypt(cl_prvk); cleanup(); } handleResponse(){ sign(sr_prvk); encrypt(sr_pubk); }

More Related