0

I want to make JSF beans to be used both for UI as well as webservices? Is it possible? If so can you please help me to show some articles that guides me in that direction?

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555
Sudhakar Chavali
  • 809
  • 2
  • 14
  • 32
  • Can you please show some evidence of what you have researched so far? Also please read [How do I ask a good question?](http://stackoverflow.com/help/how-to-ask). – Alastair Brown Jun 13 '16 at 22:15
  • Hence the question, if I know what I need to do, I would not come here. – Sudhakar Chavali Jun 13 '16 at 23:32
  • Can you clarify the question ? You want for example a managed bean to be associated with a REST url ? If so you can take advantage of CDI injection. – Ced Jun 14 '16 at 08:39
  • JSF managed beans and a webservices are two different front-end 'technologies'. Extract the real service and have both a webservice and a managed bean call that service (there is a duplicate of this question with detailed explanations, but I cannot seem to find it) – Kukeltje Jun 14 '16 at 09:06
  • Possible duplicate of [How to implement JAX-RS RESTful service in JSF framework](http://stackoverflow.com/questions/29982657/how-to-implement-jax-rs-restful-service-in-jsf-framework) – Kukeltje Jun 14 '16 at 09:08

0 Answers0