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 <[email protected]> > 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 <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 < > > >> can.eskikaya@ > > >> > > >> > >>> 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. >
