• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

proxy server in java

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i want to implement a proxy server in java. Is there any open source proxy server implemedtiaon in java. I was using the following code. I have to classed . One is main and other is ProxyserverThread. Will this code will be able to handel lots ot traffic if i deplaoy it for real use?? Is this approach right?? Also i want to replace some url with the new one.

 
akshay shetye
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
why is no one replying?
 
Sheriff
Posts: 28400
100
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, you haven't asked your question very well.

First of all you didn't say what kind of proxy you wanted to write. HTTP? FTP? Socks? Something else?

And then you posted some code, but you didn't ask any answerable questions about it. No, "Will this code will be able to handel lots ot traffic if i deplaoy it for real use??" isn't an answerable question. It's hard enough to look at code and tell what it does, let alone whether it does it correctly or whether it does it well.

But I would have to say if your actual goal is to write an HTTP proxy server in Java, I would recommend instead that you should just get an HTTP proxy server which has already been written, and don't worry about whether it was written in Java. Unless perhaps your goal is to learn about network programming. In which case you should not be worrying at this point about whether it's scalable.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic