If you want to do a true 3 tier client/server app that can be distributed across different machines you should look into the COM+ services, web services and things like socket or RPC (remote procedure call).
Web services are probably the easiest for you to develop an example of and because of the buzz about them there are plenty of examples on the internet that you can probably cut and paste. (search on Google for 'web services .net example' and you should get some).
You could try something like a database on a machine that is running as a web server. Run an XML web service on the machine that has a method that will access the database and return the result. Then have another app that references the web service, you can then call the web services method and get the data in this client app.
If you run IIS (microsofts web server....comes with most new operating systems since Windows 2000 (but NOT with XP HOME edition)) you can run the web service on that and have the client app access it on the local machine through the web server. Although this is running on the same machine it will be using the same protocol etc that it would be using if it were running on another machine.
Hope this helps
Hope this helps and gets you started.
Quote:
quote:Originally posted by hplim18
Hmmm...I am totally new in programming VB.NET...but i have to code in VB.NET for my Degree final year project. I am doing a project or solution on ERP that is within the company itself...but i need to implement the application on 3-tier client/server environment within the compant application but i really out of idea in implementing this. :(
therefore, i would like to ask what actually the features in VB.NET that could allow me to do 3-tier application? is it the COM feature that making the DLL file for the middle tier?
Plsss...could someone help me??
Jeannie....
|