NetBeans Forums

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

[nbajax] Question for RESTful Services Generation/Code Wizards

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Jay
Posted via mailing list.





PostPosted: Wed Feb 18, 2009 11:14 pm    Post subject: [nbajax] Question for RESTful Services Generation/Code Wizards Reply with quote

Hi,

a) Netbeans offers wizards for generation of Restful Webservices, out
of entity classes, out of the database, and through patterns. But what
if I want to make a simple POJO a restful web service with JSON
responses ? How can I easily make any java class a restful web service ?
b) I tried to handcode restful webservice behavior into my java class
by using the appropriate annotations. This will work, for simple
responses, it seems (like String). Will it work for more complex
response types ? Is there a way to get Java (not javascript) Client
code generated for the restful webservice ? Unfortunately I can not
test the JSON response type with the provided tools.
c) I
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE 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