This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Extending GenericServlet to handle "custom" protocol

 
Chulaka Ailapperuma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Is it possible to define a new protocol in WebLogic and invoke a servlet (extended from GenericServlet) to service the request? If it is, is there any documentation as to how to go about doing it?
It does not even have to be a servlet, we just want to be able to invoke some component within weblogic with a non-standard protocol.
Some background: Our organization has built an in-house "app server" that services many different clients (with many different budgets). This "app server" is no longer capable of handling the workload and we are looking into replacing it with WebLogic (or WebSphere). But because of other considerations, we cannot change the client's communication protocol.
Thanks,
Chulaka
 
Anthony Watson
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you use sockets to connect to your program, you can define a custom protocol.
 
Chulaka Ailapperuma
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Yes, our clients will use sockets to connect to WLS. What I am trying to find out is, how do you actually define a new protocol in WLS. Do I even need to?
Can I set up a listen port in WLS and whenever a request comes into it, can I get it to invoke a Servlet (perhpas extended from GenericServlet)?
Thanks,
Chulaka
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic