Starting and stoping atmosphere spade server from a swing app

3 messages Options
Embed this post
Permalink
paksegu

Starting and stoping atmosphere spade server from a swing app

Reply Threaded More More options
Print post
Permalink
Hello World.
 
I want to creat a swing app(gui) where by I can start and stop via button and pass arguments int the text box, How do i go about execting this file and passing the arguments in a swing app.
 
mainly how do I excute this file java –jar atmosphere-spade-server.jar … from swing button like:
 
@Action
    public void start() {
       
// execute  java –jar atmosphere-spade-server.jar
   
    }
 

 
 

java –jar atmosphere-spade-server.jar …

Usage: org.atmosphere.spade.AtmosphereSpadeLauncher [options]

-p, --port=port Runs Atmosphere on the specified port.

Default: 8080

-a, --apps=application path The AtmosphereServlet folder or jar or war

location.

Default: .

-rp, --respourcespackage=package The resources package name

Default:

-sp, --servletPath=path The path AtmosphereServlet will serve

resources

Default: .

-h, --help

Ransford Segu-Baffoe

[hidden email]

http://www.noqmx.com/
https://serenade.dev.java.net/

Jeanfrancois Arcand

Re: Starting and stoping atmosphere spade server from a swing app

Reply Threaded More More options
Print post
Permalink
Salut,

I recommend you use the embed API instead:

Sample here:

    * http://is.gd/4ussq

API here:

    * http://is.gd/4usI8

Let me know if that not what you are looking at.

A+

-- Jeanfrancois

paksegu wrote:

> Hello World.
>  
> I want to creat a swing app(gui) where by I can start and stop via
> button and pass arguments int the text box, How do i go about execting
> this file and passing the arguments in a swing app.
>  
> mainly how do I excute this file java –jar atmosphere-spade-server.jar …
> from swing button like:
>  
> @Action
>     public void start() {
>        
> // execute  java –jar atmosphere-spade-server.jar
>    
>     }
>  
>
>  
>  
>
> java –jar atmosphere-spade-server.jar …
>
> Usage: org.atmosphere.spade.AtmosphereSpadeLauncher [options]
>
> -p, --port=port Runs Atmosphere on the specified port.
>
> Default: 8080
>
> -a, --apps=application path The AtmosphereServlet folder or jar or war
>
> location.
>
> Default: .
>
> -rp, --respourcespackage=package The resources package name
>
> Default:
>
> -sp, --servletPath=path The path AtmosphereServlet will serve
>
> resources
>
> Default: .
>
> -h, --help
>
> Ransford Segu-Baffoe
>
> [hidden email]
>
> http://www.noqmx.com/
> https://serenade.dev.java.net/
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

paksegu

Re: Starting and stoping atmosphere spade server from a swing app

Reply Threaded More More options
Print post
Permalink
Thanks I think that will do, I go ahead and try

Ransford Segu-Baffoe

[hidden email]

http://www.noqmx.com/
https://serenade.dev.java.net/

--- On Wed, 10/21/09, Jeanfrancois Arcand <[hidden email]> wrote:

From: Jeanfrancois Arcand <[hidden email]>
Subject: Re: Starting and stoping atmosphere spade server from a swing app
To: [hidden email]
Date: Wednesday, October 21, 2009, 2:31 PM

Salut,

I recommend you use the embed API instead:

Sample here:

   * http://is.gd/4ussq

API here:

   * http://is.gd/4usI8

Let me know if that not what you are looking at.

A+

-- Jeanfrancois

paksegu wrote:

> Hello World.
>  I want to creat a swing app(gui) where by I can start and stop via button and pass arguments int the text box, How do i go about execting this file and passing the arguments in a swing app.
>  mainly how do I excute this file java –jar atmosphere-spade-server.jar … from swing button like:
>  @Action
>     public void start() {
>        // execute  java –jar atmosphere-spade-server.jar
>        }

>   
> java –jar atmosphere-spade-server.jar …
>
> Usage: org.atmosphere.spade.AtmosphereSpadeLauncher [options]
>
> -p, --port=port Runs Atmosphere on the specified port.
>
> Default: 8080
>
> -a, --apps=application path The AtmosphereServlet folder or jar or war
>
> location.
>
> Default: .
>
> -rp, --respourcespackage=package The resources package name
>
> Default:
>
> -sp, --servletPath=path The path AtmosphereServlet will serve
>
> resources
>
> Default: .
>
> -h, --help
>
> Ransford Segu-Baffoe
>
> paksegu@...
>
> http://www.noqmx.com/
> https://serenade.dev.java.net/
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...