You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Can Eskikaya <ca...@novastor.com> on 2013/07/10 15:33:13 UTC

openEJB standalone rest singlton

Hey,

i am using the standalone server and i want to implement a rest service. 

I try out the examples and the only way to get a service is then i annotate
the service class
as singlton. Is that the normal way? Or is there a configuration file?

Regards
Can



--
View this message in context: http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

AW: AW: openEJB standalone rest singlton

Posted by Can Eskikaya <ca...@novastor.com>.
That was the question. Thank you.

Von: Romain Manni-Bucau [via OpenEJB] [mailto:ml-node+s979440n4664231h97@n4.nabble.com]
Gesendet: Freitag, 12. Juli 2013 11:14
An: Can Eskikaya
Betreff: Re: AW: openEJB standalone rest singlton

Hi,

there is no static resources handling if it was the question. If you need
it you need tomee

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/12 Can Eskikaya <[hidden email]</user/SendEmail.jtp?type=node&node=4664231&i=0>>

>
> Is it possible to show/load the index.html file with the standalone server?
>
>
>
>
> Now i load the standalone snapshot server and the trunk example you used
> and
> it works.
>
> So I think I have done a missconfiguration of the server.
>
> Thank you for your time.
>
>
>
> Von: Romain Manni-Bucau [via OpenEJB]
> [mailto:ml-node+s979440n4664228h4@.nabble]
> Gesendet: Donnerstag, 11. Juli 2013 16:10
> An: Can Eskikaya
> Betreff: Re: openEJB standalone rest singlton
>
> Hmm,
>
> on trunk i get:
>
>
> INFO: Setting the server's publish address to be
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix
> 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
> logEndpoints
> INFO: REST Application:
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix
>      -> org.superbiz.rest.application.ApplicationConfig
> 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
> logEndpoints
> INFO:      Service URI:
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb
>  ->  EJB org.superbiz.rest.application.SimpleRESTEJB
> 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
> logEndpoints
> INFO:               GET
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb/
> ->      String ejb()
> 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
> logEndpoints
> INFO:      Service URI:
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo
> -> Pojo org.superbiz.rest.application.SimpleRESTPojo
> 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
> logEndpoints
> INFO:               GET
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo/-
> >
>      String pojo()
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*<https://twitter.com/rmannibucau%3e*>
> *Blog:
> **
> http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt<http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e>
> ;
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/7/11 Can Eskikaya <[hidden
> email]&lt;/user/SendEmail.jtp?type=node&amp;node=4664228&amp;i=0&gt;>
>
> > So i used the maven project from the example site.
> >
> > And all running on openejb-standalone-4.6.0<
> >
> https://repository.apache.org/content/groups/snapshots/org/apache/openejb/openejb-standalone/4.6.0-SNAPSHOT/openejb-standalone-4.6.0-20130711.040837-129.zip
> >
> > snapshot server.
> >
> > Von: Romain Manni-Bucau [via OpenEJB] [mailto:
> > [hidden
> > email]&lt;/user/SendEmail.jtp?type=node&amp;node=4664228&amp;i=1&gt;]
> > Gesendet: Donnerstag, 11. Juli 2013 14:57
> > An: Can Eskikaya
> > Betreff: Re: openEJB standalone rest singlton
> >
> > hmm,
> >
> > do you have a setup to reproduce it? (mvn project with tomee mvn plugin
> > for
> > instance)
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*<https://twitter.com/rmannibucau%3e*>
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/7/11 Can Eskikaya <[hidden
> > email]&lt;/user/SendEmail.jtp?type=node&amp;node=4664225&amp;i=0&gt;>
> >
> > > I thought my package is corrupted so i have build
> > > the "openejb-examples-4.5.2\rest-example-with-application"
> > > (rest-example-with-application-1.0.war)
> > >
> > > Unfortunately I have no success here.
> > >
> > > No service present.
> > >
> > > Regards
> > > Can
> > >
> > >
> > > Can Eskikaya wrote
> > > > It just doesn´t work. The war package is unpacked, but no service
> > > > provided.
> > > >
> > > > structure of "SERVICE".war
> > > >
> > > > service.war
> > > >   |____ index.html
> > > >   |____ WEB-INF
> > > >               |___ classes
> > > >               |          |____ xy.xxxx.yyyy.*
> > > >               |___ web.xml
> > > >
> > > >
> > > > Regards
> > > > Can
> > > > Romain Manni-Bucau wrote
> > > >> Hi,
> > > >>
> > > >> in a war you don't need it, in a jar that's normal
> > > >>
> > > >> *Romain Manni-Bucau*
> > > >> *Twitter: @rmannibucau
> > &lt;
> https://twitter.com/rmannibucau&gt;*&lt;https://twitter.com/rmannibucau%3e*&gt<https://twitter.com/rmannibucau%3e*%3chttps:/twitter.com/rmannibucau%3e*%3e>
> ;<
> > https://twitter.com/rmannibucau%3e*>
> > > >> *Blog:
> > > >> **
> > >
> >
> http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt&lt;http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e&gt<http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e%3chttp:/rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e%3e>
> ;
> > &lt;
> http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e&gt<http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e%3e>
> ;
> > > ;
> > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > >> *Github: https://github.com/rmannibucau*
> > > >>
> > > >>
> > > >>
> > > >> 2013/7/10 Can Eskikaya &lt;
> > >
> > > >> can.eskikaya@
> > >
> > > >> &gt;
> > > >>
> > > >>> Hey,
> > > >>>
> > > >>> i am using the standalone server and i want to implement a rest
> > > service.
> > > >>>
> > > >>> I try out the examples and the only way to get a service is then i
> > > >>> annotate
> > > >>> the service class
> > > >>> as singlton. Is that the normal way? Or is there a configuration
> > file?
> > > >>>
> > > >>> Regards
> > > >>> Can
> > > >>>
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664230.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

________________________________
If you reply to this email, your message will be added to the discussion below:
http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664231.html
To unsubscribe from openEJB standalone rest singlton, click here<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4664204&code=Y2FuLmVza2lrYXlhQG5vdmFzdG9yLmNvbXw0NjY0MjA0fDI1MDI1MzUzNw==>.
NAML<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664232.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: AW: openEJB standalone rest singlton

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,

there is no static resources handling if it was the question. If you need
it you need tomee

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/12 Can Eskikaya <ca...@novastor.com>

>
> Is it possible to show/load the index.html file with the standalone server?
>
>
>
>
> Now i load the standalone snapshot server and the trunk example you used
> and
> it works.
>
> So I think I have done a missconfiguration of the server.
>
> Thank you for your time.
>
>
>
> Von: Romain Manni-Bucau [via OpenEJB]
> [mailto:ml-node+s979440n4664228h4@.nabble]
> Gesendet: Donnerstag, 11. Juli 2013 16:10
> An: Can Eskikaya
> Betreff: Re: openEJB standalone rest singlton
>
> Hmm,
>
> on trunk i get:
>
>
> INFO: Setting the server's publish address to be
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix
> 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
> logEndpoints
> INFO: REST Application:
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix
>      -> org.superbiz.rest.application.ApplicationConfig
> 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
> logEndpoints
> INFO:      Service URI:
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb
>  ->  EJB org.superbiz.rest.application.SimpleRESTEJB
> 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
> logEndpoints
> INFO:               GET
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb/
> ->      String ejb()
> 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
> logEndpoints
> INFO:      Service URI:
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo
> -> Pojo org.superbiz.rest.application.SimpleRESTPojo
> 11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
> logEndpoints
> INFO:               GET
>
> http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo/-
> >
>      String pojo()
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*
> *Blog:
> **
> http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt
> ;
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/7/11 Can Eskikaya <[hidden
> email]&lt;/user/SendEmail.jtp?type=node&amp;node=4664228&amp;i=0&gt;>
>
> > So i used the maven project from the example site.
> >
> > And all running on openejb-standalone-4.6.0<
> >
> https://repository.apache.org/content/groups/snapshots/org/apache/openejb/openejb-standalone/4.6.0-SNAPSHOT/openejb-standalone-4.6.0-20130711.040837-129.zip
> >
> > snapshot server.
> >
> > Von: Romain Manni-Bucau [via OpenEJB] [mailto:
> > [hidden
> > email]&lt;/user/SendEmail.jtp?type=node&amp;node=4664228&amp;i=1&gt;]
> > Gesendet: Donnerstag, 11. Juli 2013 14:57
> > An: Can Eskikaya
> > Betreff: Re: openEJB standalone rest singlton
> >
> > hmm,
> >
> > do you have a setup to reproduce it? (mvn project with tomee mvn plugin
> > for
> > instance)
> >
> > *Romain Manni-Bucau*
> > *Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*
> > *Blog: **http://rmannibucau.wordpress.com/*<
> > http://rmannibucau.wordpress.com/>
> > *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > *Github: https://github.com/rmannibucau*
> >
> >
> >
> > 2013/7/11 Can Eskikaya <[hidden
> > email]&lt;/user/SendEmail.jtp?type=node&amp;node=4664225&amp;i=0&gt;>
> >
> > > I thought my package is corrupted so i have build
> > > the "openejb-examples-4.5.2\rest-example-with-application"
> > > (rest-example-with-application-1.0.war)
> > >
> > > Unfortunately I have no success here.
> > >
> > > No service present.
> > >
> > > Regards
> > > Can
> > >
> > >
> > > Can Eskikaya wrote
> > > > It just doesn´t work. The war package is unpacked, but no service
> > > > provided.
> > > >
> > > > structure of "SERVICE".war
> > > >
> > > > service.war
> > > >   |____ index.html
> > > >   |____ WEB-INF
> > > >               |___ classes
> > > >               |          |____ xy.xxxx.yyyy.*
> > > >               |___ web.xml
> > > >
> > > >
> > > > Regards
> > > > Can
> > > > Romain Manni-Bucau wrote
> > > >> Hi,
> > > >>
> > > >> in a war you don't need it, in a jar that's normal
> > > >>
> > > >> *Romain Manni-Bucau*
> > > >> *Twitter: @rmannibucau
> > &lt;
> https://twitter.com/rmannibucau&gt;*&lt;https://twitter.com/rmannibucau%3e*&gt
> ;<
> > https://twitter.com/rmannibucau%3e*>
> > > >> *Blog:
> > > >> **
> > >
> >
> http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt&lt;http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e&gt
> ;
> > &lt;
> http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e&gt
> ;
> > > ;
> > > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > > >> *Github: https://github.com/rmannibucau*
> > > >>
> > > >>
> > > >>
> > > >> 2013/7/10 Can Eskikaya &lt;
> > >
> > > >> can.eskikaya@
> > >
> > > >> &gt;
> > > >>
> > > >>> Hey,
> > > >>>
> > > >>> i am using the standalone server and i want to implement a rest
> > > service.
> > > >>>
> > > >>> I try out the examples and the only way to get a service is then i
> > > >>> annotate
> > > >>> the service class
> > > >>> as singlton. Is that the normal way? Or is there a configuration
> > file?
> > > >>>
> > > >>> Regards
> > > >>> Can
> > > >>>
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664230.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Re: AW: openEJB standalone rest singlton

Posted by Can Eskikaya <ca...@novastor.com>.
Is it possible to show/load the index.html file with the standalone server?




Now i load the standalone snapshot server and the trunk example you used and
it works.

So I think I have done a missconfiguration of the server.

Thank you for your time.



Von: Romain Manni-Bucau [via OpenEJB]
[mailto:ml-node+s979440n4664228h4@.nabble]
Gesendet: Donnerstag, 11. Juli 2013 16:10
An: Can Eskikaya
Betreff: Re: openEJB standalone rest singlton

Hmm,

on trunk i get:


INFO: Setting the server's publish address to be
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO: REST Application:
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix
     -> org.superbiz.rest.application.ApplicationConfig
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:      Service URI:
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb
 ->  EJB org.superbiz.rest.application.SimpleRESTEJB
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:               GET
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb/
->      String ejb()
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:      Service URI:
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo
-> Pojo org.superbiz.rest.application.SimpleRESTPojo
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:               GET
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo/->
     String pojo()

*Romain Manni-Bucau*
*Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*
*Blog:
**http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt;
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/11 Can Eskikaya <[hidden
email]&lt;/user/SendEmail.jtp?type=node&amp;node=4664228&amp;i=0&gt;>

> So i used the maven project from the example site.
>
> And all running on openejb-standalone-4.6.0<
> https://repository.apache.org/content/groups/snapshots/org/apache/openejb/openejb-standalone/4.6.0-SNAPSHOT/openejb-standalone-4.6.0-20130711.040837-129.zip>
> snapshot server.
>
> Von: Romain Manni-Bucau [via OpenEJB] [mailto:
> [hidden
> email]&lt;/user/SendEmail.jtp?type=node&amp;node=4664228&amp;i=1&gt;]
> Gesendet: Donnerstag, 11. Juli 2013 14:57
> An: Can Eskikaya
> Betreff: Re: openEJB standalone rest singlton
>
> hmm,
>
> do you have a setup to reproduce it? (mvn project with tomee mvn plugin
> for
> instance)
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/7/11 Can Eskikaya <[hidden
> email]&lt;/user/SendEmail.jtp?type=node&amp;node=4664225&amp;i=0&gt;>
>
> > I thought my package is corrupted so i have build
> > the "openejb-examples-4.5.2\rest-example-with-application"
> > (rest-example-with-application-1.0.war)
> >
> > Unfortunately I have no success here.
> >
> > No service present.
> >
> > Regards
> > Can
> >
> >
> > Can Eskikaya wrote
> > > It just doesn´t work. The war package is unpacked, but no service
> > > provided.
> > >
> > > structure of "SERVICE".war
> > >
> > > service.war
> > >   |____ index.html
> > >   |____ WEB-INF
> > >               |___ classes
> > >               |          |____ xy.xxxx.yyyy.*
> > >               |___ web.xml
> > >
> > >
> > > Regards
> > > Can
> > > Romain Manni-Bucau wrote
> > >> Hi,
> > >>
> > >> in a war you don't need it, in a jar that's normal
> > >>
> > >> *Romain Manni-Bucau*
> > >> *Twitter: @rmannibucau
> &lt;https://twitter.com/rmannibucau&gt;*&lt;https://twitter.com/rmannibucau%3e*&gt;<
> https://twitter.com/rmannibucau%3e*>
> > >> *Blog:
> > >> **
> >
> http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt&lt;http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e&gt;
> &lt;http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e&gt;
> > ;
> > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >> *Github: https://github.com/rmannibucau*
> > >>
> > >>
> > >>
> > >> 2013/7/10 Can Eskikaya &lt;
> >
> > >> can.eskikaya@
> >
> > >> &gt;
> > >>
> > >>> Hey,
> > >>>
> > >>> i am using the standalone server and i want to implement a rest
> > service.
> > >>>
> > >>> I try out the examples and the only way to get a service is then i
> > >>> annotate
> > >>> the service class
> > >>> as singlton. Is that the normal way? Or is there a configuration
> file?
> > >>>
> > >>> Regards
> > >>> Can
> > >>>





--
View this message in context: http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664230.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

AW: openEJB standalone rest singlton

Posted by Can Eskikaya <ca...@novastor.com>.
Now i load the standalone snapshot server and the trunk example you used and it works.

So I think I have done a missconfiguration of the server.

Thank you for your time.



Von: Romain Manni-Bucau [via OpenEJB] [mailto:ml-node+s979440n4664228h4@n4.nabble.com]
Gesendet: Donnerstag, 11. Juli 2013 16:10
An: Can Eskikaya
Betreff: Re: openEJB standalone rest singlton

Hmm,

on trunk i get:


INFO: Setting the server's publish address to be
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO: REST Application:
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix
     -> org.superbiz.rest.application.ApplicationConfig
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:      Service URI:
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb
 ->  EJB org.superbiz.rest.application.SimpleRESTEJB
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:               GET
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb/
->      String ejb()
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:      Service URI:
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo
-> Pojo org.superbiz.rest.application.SimpleRESTPojo
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:               GET
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo/->
     String pojo()

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/11 Can Eskikaya <[hidden email]</user/SendEmail.jtp?type=node&node=4664228&i=0>>

> So i used the maven project from the example site.
>
> And all running on openejb-standalone-4.6.0<
> https://repository.apache.org/content/groups/snapshots/org/apache/openejb/openejb-standalone/4.6.0-SNAPSHOT/openejb-standalone-4.6.0-20130711.040837-129.zip>
> snapshot server.
>
> Von: Romain Manni-Bucau [via OpenEJB] [mailto:
> [hidden email]</user/SendEmail.jtp?type=node&node=4664228&i=1>]
> Gesendet: Donnerstag, 11. Juli 2013 14:57
> An: Can Eskikaya
> Betreff: Re: openEJB standalone rest singlton
>
> hmm,
>
> do you have a setup to reproduce it? (mvn project with tomee mvn plugin for
> instance)
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/7/11 Can Eskikaya <[hidden
> email]</user/SendEmail.jtp?type=node&node=4664225&i=0>>
>
> > I thought my package is corrupted so i have build
> > the "openejb-examples-4.5.2\rest-example-with-application"
> > (rest-example-with-application-1.0.war)
> >
> > Unfortunately I have no success here.
> >
> > No service present.
> >
> > Regards
> > Can
> >
> >
> > Can Eskikaya wrote
> > > It just doesn´t work. The war package is unpacked, but no service
> > > provided.
> > >
> > > structure of "SERVICE".war
> > >
> > > service.war
> > >   |____ index.html
> > >   |____ WEB-INF
> > >               |___ classes
> > >               |          |____ xy.xxxx.yyyy.*
> > >               |___ web.xml
> > >
> > >
> > > Regards
> > > Can
> > > Romain Manni-Bucau wrote
> > >> Hi,
> > >>
> > >> in a war you don't need it, in a jar that's normal
> > >>
> > >> *Romain Manni-Bucau*
> > >> *Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*<https://twitter.com/rmannibucau%3e*><
> https://twitter.com/rmannibucau%3e*>
> > >> *Blog:
> > >> **
> >
> http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt<http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e>
> <http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e>
> > ;
> > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >> *Github: https://github.com/rmannibucau*
> > >>
> > >>
> > >>
> > >> 2013/7/10 Can Eskikaya &lt;
> >
> > >> can.eskikaya@
> >
> > >> &gt;
> > >>
> > >>> Hey,
> > >>>
> > >>> i am using the standalone server and i want to implement a rest
> > service.
> > >>>
> > >>> I try out the examples and the only way to get a service is then i
> > >>> annotate
> > >>> the service class
> > >>> as singlton. Is that the normal way? Or is there a configuration
> file?
> > >>>
> > >>> Regards
> > >>> Can
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> View this message in context:
> > >>>
> >
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204.html
> > >>> Sent from the OpenEJB User mailing list archive at Nabble.com.
> > >>>
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664223.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com.
> >
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664225.html
> To unsubscribe from openEJB standalone rest singlton, click here<
> >.
> NAML<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
>
>
> rest-example-with-application.zip (11K) <
> http://openejb.979440.n4.nabble.com/attachment/4664226/0/rest-example-with-application.zip
> >
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664226.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

________________________________
If you reply to this email, your message will be added to the discussion below:
http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664228.html
To unsubscribe from openEJB standalone rest singlton, click here<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4664204&code=Y2FuLmVza2lrYXlhQG5vdmFzdG9yLmNvbXw0NjY0MjA0fDI1MDI1MzUzNw==>.
NAML<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>




--
View this message in context: http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664229.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: openEJB standalone rest singlton

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hmm,

on trunk i get:


INFO: Setting the server's publish address to be
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO: REST Application:
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix
     -> org.superbiz.rest.application.ApplicationConfig
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:      Service URI:
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb
 ->  EJB org.superbiz.rest.application.SimpleRESTEJB
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:               GET
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/ejb/
->      String ejb()
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:      Service URI:
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo
-> Pojo org.superbiz.rest.application.SimpleRESTPojo
11 juil. 2013 16:05:59 org.apache.openejb.server.cxf.rs.CxfRsHttpListener
logEndpoints
INFO:               GET
http://127.0.0.1:4204/rest-example-with-application-1.1.0-SNAPSHOT/rest-prefix/pojo/->
     String pojo()

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/11 Can Eskikaya <ca...@novastor.com>

> So i used the maven project from the example site.
>
> And all running on openejb-standalone-4.6.0<
> https://repository.apache.org/content/groups/snapshots/org/apache/openejb/openejb-standalone/4.6.0-SNAPSHOT/openejb-standalone-4.6.0-20130711.040837-129.zip>
> snapshot server.
>
> Von: Romain Manni-Bucau [via OpenEJB] [mailto:
> ml-node+s979440n4664225h11@n4.nabble.com]
> Gesendet: Donnerstag, 11. Juli 2013 14:57
> An: Can Eskikaya
> Betreff: Re: openEJB standalone rest singlton
>
> hmm,
>
> do you have a setup to reproduce it? (mvn project with tomee mvn plugin for
> instance)
>
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
> *Blog: **http://rmannibucau.wordpress.com/*<
> http://rmannibucau.wordpress.com/>
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
>
>
>
> 2013/7/11 Can Eskikaya <[hidden
> email]</user/SendEmail.jtp?type=node&node=4664225&i=0>>
>
> > I thought my package is corrupted so i have build
> > the "openejb-examples-4.5.2\rest-example-with-application"
> > (rest-example-with-application-1.0.war)
> >
> > Unfortunately I have no success here.
> >
> > No service present.
> >
> > Regards
> > Can
> >
> >
> > Can Eskikaya wrote
> > > It just doesn´t work. The war package is unpacked, but no service
> > > provided.
> > >
> > > structure of "SERVICE".war
> > >
> > > service.war
> > >   |____ index.html
> > >   |____ WEB-INF
> > >               |___ classes
> > >               |          |____ xy.xxxx.yyyy.*
> > >               |___ web.xml
> > >
> > >
> > > Regards
> > > Can
> > > Romain Manni-Bucau wrote
> > >> Hi,
> > >>
> > >> in a war you don't need it, in a jar that's normal
> > >>
> > >> *Romain Manni-Bucau*
> > >> *Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*<
> https://twitter.com/rmannibucau%3e*>
> > >> *Blog:
> > >> **
> >
> http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt
> <http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e>
> > ;
> > >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> > >> *Github: https://github.com/rmannibucau*
> > >>
> > >>
> > >>
> > >> 2013/7/10 Can Eskikaya &lt;
> >
> > >> can.eskikaya@
> >
> > >> &gt;
> > >>
> > >>> Hey,
> > >>>
> > >>> i am using the standalone server and i want to implement a rest
> > service.
> > >>>
> > >>> I try out the examples and the only way to get a service is then i
> > >>> annotate
> > >>> the service class
> > >>> as singlton. Is that the normal way? Or is there a configuration
> file?
> > >>>
> > >>> Regards
> > >>> Can
> > >>>
> > >>>
> > >>>
> > >>> --
> > >>> View this message in context:
> > >>>
> >
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204.html
> > >>> Sent from the OpenEJB User mailing list archive at Nabble.com.
> > >>>
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664223.html
> > Sent from the OpenEJB User mailing list archive at Nabble.com.
> >
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664225.html
> To unsubscribe from openEJB standalone rest singlton, click here<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4664204&code=Y2FuLmVza2lrYXlhQG5vdmFzdG9yLmNvbXw0NjY0MjA0fDI1MDI1MzUzNw==
> >.
> NAML<
> http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
>
>
> rest-example-with-application.zip (11K) <
> http://openejb.979440.n4.nabble.com/attachment/4664226/0/rest-example-with-application.zip
> >
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664226.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

AW: openEJB standalone rest singlton

Posted by Can Eskikaya <ca...@novastor.com>.
So i used the maven project from the example site.

And all running on openejb-standalone-4.6.0<https://repository.apache.org/content/groups/snapshots/org/apache/openejb/openejb-standalone/4.6.0-SNAPSHOT/openejb-standalone-4.6.0-20130711.040837-129.zip> snapshot server.

Von: Romain Manni-Bucau [via OpenEJB] [mailto:ml-node+s979440n4664225h11@n4.nabble.com]
Gesendet: Donnerstag, 11. Juli 2013 14:57
An: Can Eskikaya
Betreff: Re: openEJB standalone rest singlton

hmm,

do you have a setup to reproduce it? (mvn project with tomee mvn plugin for
instance)

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/11 Can Eskikaya <[hidden email]</user/SendEmail.jtp?type=node&node=4664225&i=0>>

> I thought my package is corrupted so i have build
> the "openejb-examples-4.5.2\rest-example-with-application"
> (rest-example-with-application-1.0.war)
>
> Unfortunately I have no success here.
>
> No service present.
>
> Regards
> Can
>
>
> Can Eskikaya wrote
> > It just doesn´t work. The war package is unpacked, but no service
> > provided.
> >
> > structure of "SERVICE".war
> >
> > service.war
> >   |____ index.html
> >   |____ WEB-INF
> >               |___ classes
> >               |          |____ xy.xxxx.yyyy.*
> >               |___ web.xml
> >
> >
> > Regards
> > Can
> > Romain Manni-Bucau wrote
> >> Hi,
> >>
> >> in a war you don't need it, in a jar that's normal
> >>
> >> *Romain Manni-Bucau*
> >> *Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*<https://twitter.com/rmannibucau%3e*>
> >> *Blog:
> >> **
> http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt<http://rmannibucau.wordpress.com/*%3chttp:/rmannibucau.wordpress.com/%3e>
> ;
> >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> *Github: https://github.com/rmannibucau*
> >>
> >>
> >>
> >> 2013/7/10 Can Eskikaya &lt;
>
> >> can.eskikaya@
>
> >> &gt;
> >>
> >>> Hey,
> >>>
> >>> i am using the standalone server and i want to implement a rest
> service.
> >>>
> >>> I try out the examples and the only way to get a service is then i
> >>> annotate
> >>> the service class
> >>> as singlton. Is that the normal way? Or is there a configuration file?
> >>>
> >>> Regards
> >>> Can
> >>>
> >>>
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204.html
> >>> Sent from the OpenEJB User mailing list archive at Nabble.com.
> >>>
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664223.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

________________________________
If you reply to this email, your message will be added to the discussion below:
http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664225.html
To unsubscribe from openEJB standalone rest singlton, click here<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4664204&code=Y2FuLmVza2lrYXlhQG5vdmFzdG9yLmNvbXw0NjY0MjA0fDI1MDI1MzUzNw==>.
NAML<http://openejb.979440.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>


rest-example-with-application.zip (11K) <http://openejb.979440.n4.nabble.com/attachment/4664226/0/rest-example-with-application.zip>




--
View this message in context: http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664226.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: openEJB standalone rest singlton

Posted by Romain Manni-Bucau <rm...@gmail.com>.
hmm,

do you have a setup to reproduce it? (mvn project with tomee mvn plugin for
instance)

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/11 Can Eskikaya <ca...@novastor.com>

> I thought my package is corrupted so i have build
> the "openejb-examples-4.5.2\rest-example-with-application"
> (rest-example-with-application-1.0.war)
>
> Unfortunately I have no success here.
>
> No service present.
>
> Regards
> Can
>
>
> Can Eskikaya wrote
> > It just doesn´t work. The war package is unpacked, but no service
> > provided.
> >
> > structure of "SERVICE".war
> >
> > service.war
> >   |____ index.html
> >   |____ WEB-INF
> >               |___ classes
> >               |          |____ xy.xxxx.yyyy.*
> >               |___ web.xml
> >
> >
> > Regards
> > Can
> > Romain Manni-Bucau wrote
> >> Hi,
> >>
> >> in a war you don't need it, in a jar that's normal
> >>
> >> *Romain Manni-Bucau*
> >> *Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*
> >> *Blog:
> >> **
> http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt
> ;
> >> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> >> *Github: https://github.com/rmannibucau*
> >>
> >>
> >>
> >> 2013/7/10 Can Eskikaya &lt;
>
> >> can.eskikaya@
>
> >> &gt;
> >>
> >>> Hey,
> >>>
> >>> i am using the standalone server and i want to implement a rest
> service.
> >>>
> >>> I try out the examples and the only way to get a service is then i
> >>> annotate
> >>> the service class
> >>> as singlton. Is that the normal way? Or is there a configuration file?
> >>>
> >>> Regards
> >>> Can
> >>>
> >>>
> >>>
> >>> --
> >>> View this message in context:
> >>>
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204.html
> >>> Sent from the OpenEJB User mailing list archive at Nabble.com.
> >>>
>
>
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664223.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>

Re: openEJB standalone rest singlton

Posted by Can Eskikaya <ca...@novastor.com>.
I thought my package is corrupted so i have build 
the "openejb-examples-4.5.2\rest-example-with-application" 
(rest-example-with-application-1.0.war)

Unfortunately I have no success here.

No service present.

Regards
Can


Can Eskikaya wrote
> It just doesn´t work. The war package is unpacked, but no service
> provided.
> 
> structure of "SERVICE".war
> 
> service.war
>   |____ index.html
>   |____ WEB-INF
>               |___ classes
>               |          |____ xy.xxxx.yyyy.*
>               |___ web.xml
> 
> 
> Regards
> Can
> Romain Manni-Bucau wrote
>> Hi,
>> 
>> in a war you don't need it, in a jar that's normal
>> 
>> *Romain Manni-Bucau*
>> *Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*
>> *Blog:
>> **http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt;
>> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
>> *Github: https://github.com/rmannibucau*
>> 
>> 
>> 
>> 2013/7/10 Can Eskikaya &lt;

>> can.eskikaya@

>> &gt;
>> 
>>> Hey,
>>>
>>> i am using the standalone server and i want to implement a rest service.
>>>
>>> I try out the examples and the only way to get a service is then i
>>> annotate
>>> the service class
>>> as singlton. Is that the normal way? Or is there a configuration file?
>>>
>>> Regards
>>> Can
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204.html
>>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>>





--
View this message in context: http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664223.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: openEJB standalone rest singlton

Posted by Can Eskikaya <ca...@novastor.com>.
It just doesn´t work. The war package is unpacked, but no service provided.

structure of "SERVICE".war

service.war
  |____ index.html
  |____ WEB-INF
              |___ classes
              |          |____ xy.xxxx.yyyy.*
              |___ web.xml


Regards
Can


Romain Manni-Bucau wrote
> Hi,
> 
> in a war you don't need it, in a jar that's normal
> 
> *Romain Manni-Bucau*
> *Twitter: @rmannibucau &lt;https://twitter.com/rmannibucau&gt;*
> *Blog:
> **http://rmannibucau.wordpress.com/*&lt;http://rmannibucau.wordpress.com/&gt;
> *LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
> *Github: https://github.com/rmannibucau*
> 
> 
> 
> 2013/7/10 Can Eskikaya &lt;

> can.eskikaya@

> &gt;
> 
>> Hey,
>>
>> i am using the standalone server and i want to implement a rest service.
>>
>> I try out the examples and the only way to get a service is then i
>> annotate
>> the service class
>> as singlton. Is that the normal way? Or is there a configuration file?
>>
>> Regards
>> Can
>>
>>
>>
>> --
>> View this message in context:
>> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204.html
>> Sent from the OpenEJB User mailing list archive at Nabble.com.
>>





--
View this message in context: http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204p4664222.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: openEJB standalone rest singlton

Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi,

in a war you don't need it, in a jar that's normal

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/7/10 Can Eskikaya <ca...@novastor.com>

> Hey,
>
> i am using the standalone server and i want to implement a rest service.
>
> I try out the examples and the only way to get a service is then i annotate
> the service class
> as singlton. Is that the normal way? Or is there a configuration file?
>
> Regards
> Can
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/openEJB-standalone-rest-singlton-tp4664204.html
> Sent from the OpenEJB User mailing list archive at Nabble.com.
>