This week's book giveaway is in the Java in General forum. We're giving away four copies of 97 Things Every Java Programmer Should Know and have Kevlin Henney & Trisha Gee on-line! See this thread for details.
Hi there, this is my first posting to Java Ranch so here goes. In the requirements document under the "Writing Data Client" section, there is the following text "To connect with your server you should create a client program. This implementation should include a class that implements the same public methods as the suncertify.db.Data class, although it will need different constructors to allow it to support network configuration". My local and remote connections to the data class are separate classes but they both implement the same interface (containing all the public methods in the Data class). If I provide a factory class to return either a remote or local connection to the database depending on the arguments passed have I satisfied the above requirement or do both types of connection really have to be in the same class? Thanks in advance, cheers, doug