NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Netbeans platform as a service

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users
View previous topic :: View next topic  
Author Message
Miguel Garcia-Lopez
Posted via mailing list.





PostPosted: Mon Oct 05, 2009 3:18 pm    Post subject: Netbeans platform as a service Reply with quote

Hi:

On 05/10/2009, at 13:25, Marc Ende wrote:

Quote:
is there any way to start a netbeans platform application (which is
a server) as a service (win) or as a daemon (linux)?


We succesfully use "Java Server Wrapper":

http://wrapper.tanukisoftware.org/doc/english/download.jsp

in several of our projects.

It can help to easily and very customizably deploy Java-based windows
and linux services/daemons.

We have not used it with any particular NBP development, but I do not
forsee any inconveniences...

--
Miguel Garc
Back to top
tomwheeler



Joined: 03 Sep 2008
Posts: 950

PostPosted: Tue Oct 06, 2009 5:52 pm    Post subject: Netbeans platform as a service Reply with quote

For Linux, you'd just need to create an init script. This one is for
Tomcat, though it would be the same general concept for a platform
app:

http://www.raibledesigns.com/tomcat/boot-howto.html

On Mon, Oct 5, 2009 at 6:25 AM, Marc Ende <address-removed> wrote:
Quote:
Hi there,

is there any way to start a netbeans platform application (which is
a server) as a service (win) or as a daemon (linux)?

yours

marc




--
Tom Wheeler
http://www.tomwheeler.com/
Back to top
Marc Ende
Posted via mailing list.





PostPosted: Wed Oct 07, 2009 6:40 am    Post subject: Netbeans platform as a service Reply with quote

Hi Miguel,

Miguel Garcia-Lopez schrieb:
Quote:
We succesfully use "Java Server Wrapper":
[...]
Quote:
It can help to easily and very customizably deploy Java-based windows
and linux services/daemons.

We have not used it with any particular NBP development, but I do not
forsee any inconveniences...
Thank you for your answer. I know the Java Server Wrapper. This seems to
be a good way to use the
NBP as a service.

Marc
Back to top
Marc Ende
Posted via mailing list.





PostPosted: Wed Oct 07, 2009 6:43 am    Post subject: Netbeans platform as a service Reply with quote

Hi Tom,

Tom Wheeler schrieb:
Quote:
For Linux, you'd just need to create an init script. This one is for
Tomcat, though it would be the same general concept for a platform
app:

http://www.raibledesigns.com/tomcat/boot-howto.html


yes, of course this is one way. But I think I would prefer the java
service wrapper in this case. It's easier to
keep both worlds in sync using the wrapper. In this case I have to work
with one framework and I don't have to maintain
two completely diffrent "start-scripts".
If I had only one platform to support (and this is linux) I would also
prefer this way (using the init-script).

Marc
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Platform Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo