• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

doubt in a text from sun's pdf about SOA

 
Ranch Hand
Posts: 3852
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You ca also implement a Web Services with a servlet which is also part of J2EE 5 SDK...
 
Ranch Hand
Posts: 686
Mac
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
No thanks. We have all the government we need. This tiny ad would like you to leave now:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic