Announcement Announcement Module
Collapse
No announcement yet.
static service layer methods Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • static service layer methods

    Hi,

    Interested in peoples' views on the pros and cons of making your service layer methods static?

    thanks!

  • #2
    Yes, I have seen the articles that you mention and have trawled through most of the online docs but haven't found anything that answers my specific questions about the service layer. Do you have any sample code that you would be able to share?

    ccie voice
    ccie voice lab
    msp training

    Comment


    • #3
      It seems like you would lose the perks of using java beans in your code then... You would not be able to auto-wire beans into your services and would have to pass them into each method. You would not be able to expose service methods as methods of a web service, etc. I can see how that would limit me. What are the advantages of this approach?

      Comment


      • #4
        Thanks for that, it's much appreciated!

        Comment

        Working...
        X