Discussion:
Restlet for J2SE with Spring support
LiHongZhe
2011-09-21 03:13:12 UTC
Permalink
I use Restlet(J2SE) in my project recentlly, and I want to managed it with Spring. I know the org.restlet.ext.spring.jar, but I wonder whether it could be used for J2SE or not. I look for a lot of materials, but am not be able to find the way.
So I decide to write it for my own, and have been finished a simple version.

I want to know whether my work is necessory or not? And if yes, could I contribute my code to the project and what should I do for it.

Thank you very much and best wishes.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2842750
Jerome Louvel
2011-09-21 14:03:10 UTC
Permalink
Hello,

Thanks for reaching us. We are always looking for opportunities to improve
the Spring extension even though it is already usable in a simple Java SE
environment.

Could you share your existing code we us or at least describe how you
approached things so we know if/how to move forward? You could enter a
Tigris issue and attach code to it, or reply here if you prefer.

Best regards,
Jerome
--
http://www.restlet.org
http://twitter.com/#!/jlouvel



-----Message d'origine-----
De : LiHongZhe [mailto:li.hzh-***@public.gmane.org]
Envoyé : mercredi 21 septembre 2011 05:13
À : code-s0N/mLB9wL+***@public.gmane.org
Objet : Restlet for J2SE with Spring support

I use Restlet(J2SE) in my project recentlly, and I want to managed it with
Spring. I know the org.restlet.ext.spring.jar, but I wonder whether it could
be used for J2SE or not. I look for a lot of materials, but am not be able
to find the way.
So I decide to write it for my own, and have been finished a simple version.

I want to know whether my work is necessory or not? And if yes, could I
contribute my code to the project and what should I do for it.

Thank you very much and best wishes.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=28427
50

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2842982
LiHongZhe
2011-09-22 09:22:14 UTC
Permalink
OK.
My code is in the attachment.
I wrote it for my convention. In my last project without spring, when adding a new resource, we should do, in my opinion, a lot repeated work. I hope to just "New a Resource Class" and give it a URI and a Spring annotation, and then it will works.

I really don't know whether it's reasonable in other cases.

Thanks for your reply.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=7458&dsMessageId=2843218
Loading...