• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Does i need to use session bean with Spring Restful web service API?

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am newer in EJB3 World and in Spring .

i builds an API Using RESTFul web services USING @Controller and @Entity (Entity Beans) , but i am in confusion between take advantages of Session Beans and Using it inside Spring MVC Controller(Which Represent the Restful web services)

to explain more about my theory :
1- Client Connect to API Restful (Spring Controller)
2- Spring Controller Connect Locally to Session Bean
3- Session bean Connect with Entity bean , then process the request and return the result

Does i need to do these steps with Spring Restful API ? or i don't need to use Session Beans and Use only Restful web services(Spring Controller) and connect directly from it with the EJB Entity Beans ? Does Spring Restful web services Give me Identical advantages such as Session Beans ?
 
You totally ruined the moon. You're gonna hafta pay for that you know. This tiny ad agrees:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic