Results 1 to 4 of 4
Thread: stand alond to network
- 07-23-2010, 09:40 PM #1
Member
- Join Date
- Jul 2010
- Posts
- 7
- Rep Power
- 0
- 07-25-2010, 03:17 AM #2
i guess some kind of abstraction between the application and the database is a good start, instead of working with JDBC (or what ever database mapping tool specific things) create a manager interface, or interfaces, implementations of these, that invoke data accessors, that invoke the database operations. Where the manager interface has methods that take on beans specific to the business function and independent of the database or any networking, and invoke the query and package the results back into response beans.
The trend lately appears to use SOAP (XML-RPC) web services as the transport mechanism for serializing the data (request/response beans), but any other mechanism over HTTP is likely a good fit. The modern problem of everything being web based and that single web ports typically being always opened thru firewalls allows for ubiquitous access of the client to the server side.
- 07-25-2010, 05:41 AM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
It's not a simple task actually in simple words. Basically you have to learn about how to communicating between two host over the network. What sockets are and how they behave and so on. Then you've confidence on that you may need to change the design of your original application as well.
So to get a start read the following, which the basis of all you need. At the same time you've to study about communication protocols such as HTTP and so on.
Lesson: All About Sockets (The Java™ Tutorials > Custom Networking)
- 08-07-2010, 03:55 PM #4
Member
- Join Date
- Jul 2010
- Posts
- 7
- Rep Power
- 0
Similar Threads
-
Server is in a network using an IP, but router in network carries the external IP(www
By lse123 in forum NetworkingReplies: 7Last Post: 05-02-2010, 10:35 PM -
Stand Alone Compiler?
By claudius753 in forum New To JavaReplies: 9Last Post: 04-08-2010, 04:54 AM -
stand alone application network change
By Java.child in forum New To JavaReplies: 3Last Post: 09-07-2008, 11:11 AM -
Stand Alone Applications?
By djpg2000 in forum New To JavaReplies: 5Last Post: 09-05-2008, 07:23 PM -
Could some plz tell me how to write a stand alone
By quickfingers in forum New To JavaReplies: 25Last Post: 06-28-2008, 04:22 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks