Mike Appleby <[EMAIL PROTECTED]> writes: > Hi > > I am not an expert, but am building a web application > that I wish to distribute across 2 servers (both > running redhat6.2) > 1. web/app server(running tomcat3.3) > 2. db server running mySQL. > > I have written parts of the app in a development > environment on a w2k pro workstation that had both the > db and tomcat running on the same machine (no > problem). > > I now wish to port this onto the 2 server > architecture. > > How best to proceed? - I'm thinking: > write all dataAccess classes (jdbc, connections & > pooling) and put on the db server and call them from > the web/app-server. But how? > > Question: do I need tomcat running on the db server, > or can I get away with just the jdk instal on this > machine?
No. The db server will be accessed from JDBC on the web/app server. There is no need to have even a Java VM on the dbserver. > I have a feeling RMI is the answer, but know v. little > about it. Can anyone give me a *sketch* of how best to > proceed? RMI is not what you want unless you want to host java code on one machine and access it from another. Nic Ferrier ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
