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

  • service layers

    Hi there,

    I am new to Spring, so excuse the coming primitive questions, whereas I am utmost grateful for any help!

    I am using Spring along with NetBeans. My supervisor has already done some prior work. Under one of the packages of the project we are working on now, the following files/subpackages exist:
    xxx.recommender.impl
    xxx.recommender.interfaces
    xxx.recommender.model

    I have code files under a different project which I need to copy over to this one. What do the above mentioned subpackages represent and how do I know which code files get copied where to with which modifications?

    Thanks a lot in advance for your help!
    Ali

  • #2
    Put all your domain objects (Pojo mapped with Database) in xxx.recommender.model


    put all your service classes(business logic) in xxx.recommender.impl

    put all your service interfaces (who implements service classes) in xxx.recommender.interfaces

    Comment


    • #3
      This seems to be a right advice, but even better one is: "Ask your supervisor about his/her intentions".
      Originally posted by kashefbasher View Post
      Put all your domain objects (Pojo mapped with Database) in xxx.recommender.model


      put all your service classes(business logic) in xxx.recommender.impl

      put all your service interfaces (who implements service classes) in xxx.recommender.interfaces

      Comment

      Working...
      X