We are currently in the product life cycle phase when we are thinking about switching to web services. Our system is written in Java, which consists of several client and server applications that talk to each other through TCP Sockets, and also has built-in SQL for searching and updating data (yuk! I know), which uses our own SQL Connection class which then uses java.sql.Connection to connect to the SQL Server database using the Microsoft JDBC driver.
Applications bind to each other using TCP sockets. They request data and send data to each other. Which works great.
Think
So, we are considering converting all data and TCP communications into a web service.
The web service will be developed to work on the secure websites of companies. The idea is that users can connect their customers to the web service from home - when they are not in the company network - or at work when they are.
Client applications will send / receive messages to / from server-side applications using the web service. Client applications will receive and update data in the database using a web service.
Question
I just would like to know what people are going through, to do something with the help of two-way communication (request and push) through a web service (if possible) and what they think about it.
Converting data access to a web service seems straightforward enough - I can anticipate some performance issues when large parts of the data are retrieved in some parts of the system.
I am looking at various reading materials on this subject, as after a while I touched web services (using C # and ASP.NET). You are currently reading "Creating Web Services Using Java ™: Creating the Meaning of XML, SOAP, WSDL, and UDDI." I must admit, I thought that web services were always stateless, but just read that this is not so!
Thanks,
Andez
java web-services sockets tcp
Andez
source share