Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #6935

Re: How to start a server and a webservice at the same time?

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!dotsrc.org!filter.dotsrc.org!news.dotsrc.org!not-for-mail
Date Tue, 09 Aug 2011 20:04:00 -0400
From Arne Vajhøj <arne@vajhoej.dk>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version 1.0
Newsgroups comp.lang.java.programmer
Subject Re: How to start a server and a webservice at the same time?
References <63292a5b-70f4-4789-82a2-891eb06a0009@g9g2000yqb.googlegroups.com>
In-Reply-To <63292a5b-70f4-4789-82a2-891eb06a0009@g9g2000yqb.googlegroups.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Lines 14
Message-ID <4e41caf3$0$302$14726298@news.sunsite.dk> (permalink)
Organization SunSITE.dk - Supporting Open source
NNTP-Posting-Host 72.192.23.157
X-Trace news.sunsite.dk DXC=RBd]Z356cneN2]LRcf6HDcYSB=nbEKnkk_Q=jj^c=YolJPe3\kP5EUaKBm9cfh9BSdM2;kT<[:>[a7D;?\f2c?PcJ\B5AVo3fUd
X-Complaints-To staff@sunsite.dk
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6935

Show key headers only | View raw


On 8/9/2011 12:38 PM, Iain Adams wrote:
> I am building an application that requires both a Server/Client socket
> connection to multiple clients AND also exposing multiple webservices.
>
> If I was to deploy my application on a Java container (JBoss/Tomcat
> etc) is there a way I can get it to a) start the webservices and b)
> start the server (so that it can listen on a specific port for
> incoming connections)?

If they get deployed as a single unit (like an ear file) then
they should become available at (almost) the same time.

Arne

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Find similar


Thread

How to start a server and a webservice at the same time? Iain Adams <iain.adams.1985@gmail.com> - 2011-08-09 09:38 -0700
  Re: How to start a server and a webservice at the same time? Tom Anderson <twic@urchin.earth.li> - 2011-08-09 23:11 +0100
    Re: How to start a server and a webservice at the same time? Arne Vajhøj <arne@vajhoej.dk> - 2011-08-09 20:07 -0400
  Re: How to start a server and a webservice at the same time? Arne Vajhøj <arne@vajhoej.dk> - 2011-08-09 20:04 -0400

csiph-web