Results 1 to 3 of 3

Thread: service layers

  1. #1

    Default 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. #2
    Join Date
    Jan 2008
    Location
    Lahore, Pakistan
    Posts
    18

    Default

    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

  3. #3
    Join Date
    Aug 2006
    Location
    Now Germany, previously Ukraine
    Posts
    1,546

    Default

    This seems to be a right advice, but even better one is: "Ask your supervisor about his/her intentions".
    Quote 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

Tags for this Thread

Posting Permissions

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