Project: Proxy Server - Java or C#? Where to get the resource?

@fheroan (615)
Philippines
November 30, 2011 6:56pm CST
Hi there guys! We'll I have a course project in our Web Systems and Technologies class wherein we have to develop our own proxy servers(multithreaded fashion) by only using either java or c#. And I just can't decide what programming language to use. Java and C# has their own advantages and as well as disadvantages for this project. At first I was thinking of using C# because GUI is very easy to do in there, but I just realized that I'm just going to need a server so I would probably not need a GUI. So, I just opt to use Java. But then, I thought about C#'s WCF( Windows Communication Foundation ), which makes networking a lil bit easier. Because I don't need to use the typical Listeners and such. I only need to make contracts and services. But thinking more, if I use Java, I think it's more flexible than using WCF. In Java, I think the main packages I would need are the java.net.*; and java.io.*; I would probably need the Socket, SocketServer, and Stream Classes. So I started the server using Java for a while. And I was able to connect the client to the host but I'm stuck on how the proxy server contacts another server for the resource needed by the client. I don't know where to get the resource. Is it from my ISP's server? Or there is a class that I can use that have the method that can actually detect or return the IP Address of my ISP's server? If there is this such functionality, where can I find it? Java or C#? Have a nice day to all!
1 person likes this
No responses