Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Any Application Containers exist?

Reply
Thread Tools

Any Application Containers exist?

 
 
unomystEz
Guest
Posts: n/a
 
      10-21-2006
Hi all,

I have a 5 TCP servers that are tightly knit together and I'm using
Tanukis Software's JavaWrapper to faciliate running the servers as
daemons (on Linux and Windows). For scalability the servers are
distributed over machines - each of the servers are capable of
providing redundancy and load-balancing , so we can run 5 of Server A
and 2 of Server B, etc.. (think of IRCd)

Because each server has its own set of config file: tanukis', log4j,
iBATIS, some custom ones, etc.. it makes deploying these servers a
little bit troublesome and error-prone. I'm thinking of taking the
approach of Servlet Containers like Tomcat to basically act as a
container for deploying the servers (even multiple copies of the
servers). It would be nice to just drop in a war file and have the
server start up (maybe even getting it's config from a central server).

Anyone know of any application servers that can just run the
main(String... args) entry-points of alreayd existing applications? Or
perhaps if provide an interface to implement to start, stop, restart
services?

Now the deployment process is as follows: compile the project, package
it in jars, attach the default config files, upload it to a central
server, turn it into a linux or freebsd package, install the package on
the dest. server, configure it, test it, etc...

I think if I did have to just provide a simple Servlet entry point to
each of the apps (instead of main()) it work but I would have to fix up
the config file loading.

Any thoughts on this?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Are sequence containers not a subset of general containers? Sebastian Mach C++ 5 10-06-2012 07:54 PM
Is there any better approach to private inheriting from the STL containers? Michael Tsang C++ 0 04-27-2011 07:58 AM
Re: Containers other than vector - any use? Ian Collins C++ 5 08-25-2010 11:26 AM
Containers of iterators vs. containers of references clark.coleman@att.net C++ 7 01-25-2008 01:37 PM
501 PIX "deny any any" "allow any any" Any Anybody? Networking Student Cisco 4 11-16-2006 10:40 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57