Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

doubt in a text from sun's pdf about SOA

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From page 9 of following link: http://java.sun.com/developer/technicalArticles/WebServices/soa3/ImplementingSOA.pdf


The Port component associates a Web Service Definition Language (WSDL) port
address with an EJB service implementation bean-a Java class that provides the
business logic of the web service and that always runs in an EJB container. Because
the service implementation is specific to a container, the service implementation also
ties a Port component to its container�s behavior. The methods that the service
implementation bean implements are defined by the Service Endpoint Interface.


Why are they assuming that a web service will always be an EJB???

Thanks.
 
Frank Kuepper
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's because the topic of that document is "Implementing SOA with the Java EE 5 SDK"!

Of course a web-service itself not necessarily must be implemented as an EJB, but when your focus is implementing WebServices with EJB, it naturally will be.

[ October 12, 2007: Message edited by: Frank Kuepper ]
[ October 12, 2007: Message edited by: Frank Kuepper ]
 
Francois-Xavier Douxchamps
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You ca also implement a Web Services with a servlet which is also part of J2EE 5 SDK...
 
Jignesh Patel
Ranch Hand
Posts: 626
Mac
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by ankur rathi:
From page 9 of following link: http://java.sun.com/developer/technicalArticles/WebServices/soa3/ImplementingSOA.pdf



Why are they assuming that a web service will always be an EJB???

Thanks.



SOA concept is not just limited to Java, Though it is best for Java guy to understand from Java perspective. I do recommand to follow IBM tutorial for SOA intead of Sun. And once you understand them then that is time to look for real SOA understanding which talks for technology independent format.

And SOA is for loose coupling and interoperability. SOA will not add any value if it has been used for only single application.


The SOA approach means companies are able to build horizontal business
processes that integrate systems, people, and processes from across the
enterprise quickly and easily in response to changing business needs.
[ October 12, 2007: Message edited by: Jignesh Patel ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic