Download presentation
Presentation is loading. Please wait.
Published byJulius Cooper Modified over 9 years ago
1
IT2406 - SERVICE ORIENTED ARCHITECTURE LABORATORY by M.B.Bose AP / IT
2
AIM : Service-oriented architecture (SOA) is a software design and software architecture design pattern based on distinct pieces of software providing application functionality as services to other applications.software design pattern
3
Objective Service-orientation, as a means of separating things into independent and logical units, is a very common concept. Once applied to technology architecture, though, service-orientation is concerned with a specific part of our service-oriented world: business automation. This is what makes SOA so valuable. By shaping automation logic through service-orientation, existing investments can be leveraged, business intelligence can be accurately expressed, and inherent automation agility can be achieved.
4
LIST OF EXPERIMENTS 1. Develop at least 5 components such as Order Processing, Payment Processing, etc., using.NET component technology. 2. Develop at least 5 components such as Order Processing, Payment Processing, etc., using EJB component technology. 3. Invoke.NET components as web services. 4. Invoke EJB components as web services. 5. Develop a Service Orchestration Engine (workflow) using WS-BPEL and implement service composition. For example, a business process for planning business travels will invoke several services. This process will invoke several airline companies (such as American Airlines, Delta Airlines etc. ) to check the airfare price and buy at the lowest price. 6. Develop a J2EE client to access a.NET web service. 7. Develop a.NET client to access a J2EE web service.
5
SYLLABUS IT2406 SERVICE ORIENTED ARCHITECTURE LABORATORY L T P C 0 0 3 2 1. Develop at least 5 components such as Order Processing, Payment Processing, etc., using.NET component technology. 2. Develop at least 5 components such as Order Processing, Payment Processing,etc., using EJB component technology. 3. Invoke.NET components as web services. 4. Invoke EJB components as web services. 5. Develop a Service Orchestration Engine (workflow) using WS-BPEL and implement service composition. For example, a business process for planning business travels will invoke several services. This process will invoke several airline companies (such as American Airlines, Delta Airlines etc. ) to check the airfare price and buy at the lowest price. 6. Develop a J2EE client to access a.NET web service. 7. Develop a.NET client to access a J2EE web service.
6
REQUIREMENTS 1. Hardware – Pentium PC Desktops. 2. Software –.NET & J2EE
7
1. Develop at least 5 components such as Order Processing, Payment Processing, etc., using.NET component technology..NET means "Top level domain originally for network providers“. The.NET framework is a software development framework from Microsoft. It provides a controlled programming environment where software can be developed, installed and executed on Windows-based operating systems. 5 components such as Order Processing, Payment Processing, etc., using.NET component technology. 1.Computers 2. Computers details 3. Customer 4. Invoice 5. Order class
8
2. Develop at least 5 components such as Order Processing, Payment Processing etc., using EJB component technology. Enterprise JavaBeans (EJB) is an architecture for setting up program components, written in the Java programming language, that run in the server parts of a computer network that uses the client/server model. Enterprise JavaBeans is built on the JavaBeans technology for distributing program components (which are called Beans, using the coffee metaphor) to clients in a network.JavaBeansBeanclient Enterprise JavaBeans offers to control change at the server reusable in multiple applications.
9
5 components such as Order Processing, Payment Processing etc., using EJB component technology. 1.Catlogue ◦ The Catalogue component is going to return the menu in string form.Which wil be directly printed in servlet page 2.Itemdb ◦ This component stores every product in a menu form with there prices. Also provide methods to translate between product code and prices. 3.customername ◦ This component stores name and address. Also provide methods to translate between name and address. 4.payment ◦ Handles a simple payment type string which stores VISA/MasterCard 5. Menu ◦ Prints the Menu from catalogue component
10
3. Invoke.NET components as web services 1. Open Visual Studio.net editor 2. Click on File->New->Website -> Asp.net Webservice 3. Add web methods. 4. Build -> Build Solution. 5. Debug -> start without debugging.
11
6. Open Visual Studio.net editor 7. Click on File->New->Website -> Asp.net Website 8. Design view -> design your page. (add a button where we to write code that invokes web method) 9. Code view -> add this line -> localhost.service Mycalc = new localhost.service(); 10. mycalc is just a reference name – userdefined. 11. To invoke the web methods use the reference name. Say if u have add as a web method u can invoke add using [myclac.add()] 12. to make this work, initially in Solution Explorer -> right click on C:\...\website.. -> select add web reference -> now a dialogue box opens.
12
4. Invoke EJB components as web services. I.STEPS FOR CREATING SERVER SIDE PROJECT: 1.OPEN File->New->NewProject->Web->Web App..click next The addserver project will be created in right side.Right click it and choose the following. Give the web service name as addweb. After this in left side,the design window choose the add operation. Give the following in the opened window for creating operation ◦ Name->add Then right click on add addserver and perform Deploy Operation…after that right click on. Addweb and do test web service to see the SOAP request and response message.
13
5. Develop a Service Orchestration Engine (workflow) using WS-BPEL and implement service composition. For example, a business process for planning business travels will invoke several services. This process will invoke several airline companies (such as American Airlines, Delta Airlines etc. ) to check the airfare price and buy at the lowest price. 5. Develop a Service Orchestration Engine (workflow) using WS-BPEL and implement service composition. For example, a business process for planning business travels will invoke several services. This process will invoke several airline companies (such as American Airlines, Delta Airlines etc. ) to check the airfare price and buy at the lowest price. BPEL (Business Process Execution Language) is an XML-based language that enables task-sharing in a distributed computing or grid computing environment.
14
6. Develop a J2EE client to access a.NET web service 1. Create a new Web Application 2. Create the Web Service 3. Call the Java Web Service from a.Net Client
15
7. Develop a.NET client to access a J2EE web service. 7. Develop a.NET client to access a J2EE web service. Create a web application project. Add web service to the project. Add operations to the web service. Implementing the web methodes. Deploy and test the web service.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.