Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question about restful java

 
Hendra Kurniawan
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a question in this code:


1. what should go into myClass and what should go into mySingleton? is it providers or resources or both?
2. should I populate myClass only, or mySingleton alone is enough (leaving MyClass empty). Or should I populate both?
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic