简体   繁体   中英

how to implement SOA in java?

I am new for SOA.i want to known how to implement SOA in Java.i am go through various sites that only deals with the concept,it don't give clear idea about the implementation details,for using SOA in Java.plz provide an details for how to implements SOA.

Thanks

SOA is about design principles (some might even say it's a paradigm) and less about tools and implementation, so it is difficult to fire up your IDE and "implement an SOA".

Because SOA is bigger and complexer than, say, a design pattern, most sources on the subject only deal with the theory and do not discuss implementation details.

If you understand the concept and know Java, then you can start implementing on top of existing frameworks (see other answers), by reusing existing components, or, if you are feeling I-want-to-write-aC-compiler-from-scratch-y, you can try to design and code your very own SOA from the ground up.

Check out the Axis 2 web site on Apache:-

axis2

This is a mature well thought out SOAP framework which is widly deployed.

As well as the soap client and server componemtns there are a number of development tools with will enable you to SOAPify an existing java class, or, generate the Java class stubs from a SOAP WSDL definition.

SOA is a thinking, it's an architectural concept, and web service is one of the technical approaches to complete it. Web services are the preferred standards to achieve SOA.

If you need to integrate or make an existing system as a business service, you just need to create loosely coupled wrappers which is your own wrapper and will wrap your custom systems and expose the systems functionality in a generic fashion to the external world.

In SOA we need services to be loosely coupled. A web service communicates using the SOAP protocol which is XML based, which is very loosely coupled. It answers the what part of the service.

you can use Axis2 web services to implement it.

Take a look at Apache Servicemix :

Apache ServiceMix is an open source ESB (Enterprise Service Bus) that combines the functionality of a Service Oriented Architecture (SOA) and an Event Driven Architecture (EDA) to create an agile, enterprise ESB.

Additionally, the latest major release of ServiceMiix is built on top of OSGi - a "module system and service platform for Java".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM