wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes Webservices and J2EE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Webservices and J2EE" Watch "Webservices and J2EE" New topic
Author

Webservices and J2EE

Varun Narula
Ranch Hand

Joined: Nov 19, 2001
Posts: 90
How do webservices relate to J2EE ?
In the much proclaimed platform SunONE by Sun, there is a lot of talk on webservices. How do they fit into the entire concept?
Thanks,
Varun


There are only 10 types of people in this world; those who understand binary and those who dont<p>Varun Narula <br />SCJP, SCWCD, IBM-486 (UML)
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Hi Varun,
IMO Web services is an approach of achieving integration of existing enterprise applications, especially written in J2EE, in most case of different organizations. So Web Services fit well into J2EE.
Moreover, For B2B EAI, Web services is the fastest and cheapest solution.
Regards,
Doug
[ May 08, 2002: Message edited by: Doug Wang ]

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi, Web Services provides a way to make your business rule available through the internet in a secure and reliable way, and most inportant a standarized manner to do so.
"One of the big promisses of web services is seamless, automatic business integration: a piece of software will discover, access, integrate, and invoke new services from unknown companies dynamically without the need for human intervention. Dynamic integration of this nature requires the combined involvement of SOAP, WSDL, and UDDI to provide a dinamic, standard infrastructure for enabling the dynamic business of tomorrow." (from Java Web Services) book.
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Yes. Automatic business integration.
Web services is just something like EDI, which exchanges business data between large companies, but works in a different way - in a cheaper, easier, and more intelligent way.
[ May 08, 2002: Message edited by: Doug Wang ]
Varun Narula
Ranch Hand

Joined: Nov 19, 2001
Posts: 90
Hi Doug,
Could assume that in an N-tier architecture, the web services would be in the Nth tier ( along with databases, legacy apps etc.) ??
Varun
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Hi Varun,
Since Web Services mainly act as an approach of integrating B2B, I have no idea whether it fits into such N-tier architecture.
Web Services allow us to deploy any existing component made by JavaBeans, CORBA, COM and EJBs as a service via a network. The message sent via network is XML.
Personally I view web service as Client/Server architecture. The service provider acts as Server, and the service consumer as Client. But such position is not immutable, as long as the "consumer" exposes his service.
Maybe these two articles give you more concept on this topic - EAI and Web Services and B2Bi and Web Services.
Varun Narula
Ranch Hand

Joined: Nov 19, 2001
Posts: 90
Hi Doug,
Thanks for the links. They made for valuable reading.
However, I disagree with you on calling it a Client/Server concept - I feel its far more distributed to make it a simple or even an extended C/S concept. Web services are also thought of being applied to P2P networks which are distinctly difference from the C/S concept in the sense that every node is a server as well as a client. See this link
http://www.webservicesarchitect.com/content/articles/samtani05.asp

Varun Narula
Doug Wang
Ranch Hand

Joined: Oct 05, 2001
Posts: 445
Thanks for your recommendation.
Yes, you hit it. I should call it an extended C/S concept, which is quite different from traditional C/S architecture.
The common between P2P and Web services is that both are service-based technology. So both of them have built-in discovery and binding mechanism. But there explicitly are consumers and providers out there in the case of Web Services, becoz web services work in a centralized model.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Webservices and J2EE
 
Similar Threads
Axis and SOAP
Learning WSDL
How to practice?
What J2EE version is needed for WebServices
J2EE 1.4 webservices