Results 1 to 4 of 4

Thread: static service layer methods

Hybrid View

  1. #1
    Join Date
    Dec 2011
    Posts
    1

    Default static service layer methods

    Hi,

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

    thanks!

  2. #2

    Default

    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

  3. #3
    Join Date
    Sep 2011
    Posts
    5

    Default

    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?

  4. #4

    Default

    Thanks for that, it's much appreciated!
    For more headphones tips you can come to cheap beats headphones cheap beats by dre new beats by dre

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •