Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7042819
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:12:51+00:00 2026-05-28T02:12:51+00:00

I have a network server that was implemented using Jboss Netty. It servers the

  • 0

I have a network server that was implemented using Jboss Netty.
It servers the application over both raw TCP and HTTP and running as a stand alone process.
Clients connected with TCP can transfer data to clients connected with HTTP and vice versa.

Now I’m required to make it work in servlet environment.
Does netty provide a standard way for doing so or that I have to write my adapter?
What can I do with the TCP transport? can I include it in the servlet container ?

this is a similar question but without a clear answer

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:12:52+00:00Added an answer on May 28, 2026 at 2:12 am

    You can create an HttpTunnelingServlet that links to your existing Netty implementation. See the org.jboss.netty.channel.socket.http API docs.

    This document uses a Spring bean to do the Netty setup. But, it should be easy enough to move your configuration and setup to a ServletListener. I am not 100% sure if this will work though since the setup needs to connect to a LocalAddress that’s specified in the servlet config. The issue may be that the address is not valid until the servlet starts up, which happens, I think, after listeners start. Another option would be to sublcass HttpTunnelingServlet and add to the init() implementation.

    Whatever method you use, you will still have to setup and also start the TCP channels, etc too like you were doing before.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a server application that receives information over a network and processes it.
I have a MIDlet that sends TCP messages over the network to a server
I have implemented my Server application regarding this post here: http://www.codeguru.com/csharp/csharp/cs_network/sockets/article.php/c8781#Client1 Sum up: I
I have an HTTP server which is in our internal network and accessible only
I have the following requirements for an application that many people will be using
I have a adaptive server anywhere network server(version 7.0),it's name is TestServer. Now, Client
I have a Microsoft Project Server 2007 instance on a network server. I want
Our network admins have disabled IMAP and POP for our exchange server, but do
On my home network I have an installation of Windows Server 2008 and for
I have a server with two different network interfaces, each with a different IP

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.