• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Extending GenericServlet to handle "custom" protocol

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic