• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Java Packages

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

Please advise me on these Packages,Examples:

com.devi.cam.dao packages (Data Access Object)
com.devi.cam.dao.impl packages
com.devi.cam.dao.domain packages
com.devi.cam.service packages
com.devi.cam.service.impl packages
com.devi.cam.gwt.client packages
com.devi.cam.action packages

Please advise me.
 
Premila Devi Dayalan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Very Sorry.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Advise you how?
 
Premila Devi Dayalan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Main Usage of all these Packages,and what interface/class that may be declared here,and how it integrated with each others.

Thanks.
 
Marshal
Posts: 74054
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That means, "tell me how I designed my application." You need to decide which classes go in which package. We might be able to help if you told us details about your application.
 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Premila Devi Dayalan wrote:The Main Usage of all these Packages,and what interface/class that may be declared here,and how it integrated with each others.

Thanks.



its just not packages you need to think of.. it is about the separation of layers in a more meaningful way.

within a particular layer again you might have multiple meaningful packages for example each domain concept can take a package of its own which houses the domain concept and other value objects related to it... i would suggest you to go through the book "domain driven design" where the author has dedicated one chapter called "modules" which are nothing but packages.

 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Premila Devi Dayalan wrote:The Main Usage of all these Packages,and what interface/class that may be declared here,and how it integrated with each others.


I'm not sure how we'd know--did you write these? Are they part of an open source library? Please TellTheDetails.
 
Premila Devi Dayalan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear All,

The is actually a develop Software that had been published,and my jobs on these is maintaining it up.
As now,I could like to build my own software,to enhance my skills on it.
As Example,as we know that:

1.com.devi.cam.dao packages (Data Access Object)

These packages is used for Data Access Object ,Example of file,is AssetDao.java which will be in interface part.





2.com.devi.cam.dao.impl packages

These packages will implement all the Dao,that set in the "com.devi.cam.dao"



3.com.devi.cam.dao.domain packages
The packages will initialize the :


@Entity
@Table(name = "cam_asset_model", unique Constraints = {})
@Cache(usage=CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)
public class AssetModel implements java.io.Serializable {



4.com.devi.cam.service packages
These packages will initialize all the services,as Example,AssetLocationService.java :



5.com.devi.cam.service.impl packages
And these File will implement all the Service,which mention in AssetLocationService.java

6.com.devi.cam.gwt.client packages
Support Google Windows Tool kids

7.com.devi.cam.action packages
Action that had to be taken

Please advise me,if wrong.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Seems like you already know what the packages are, and have the source. I'm not sure what the question is.

Support Google Windows Tool kids


That's probably "kit".
 
Premila Devi Dayalan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My Last Question is,The Use of struts.properties and struts.xml.

For the above packages,I am able to configure.

Thanks, a lots for guide,but stuck in struts.xml.What is the main use of it,as I had to use it in my software.Just a main ideas.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It configures Struts, normally "struts.xml" would be associated with a Struts 2 application. But I'm just guessing, because you're not really telling us much.
 
Premila Devi Dayalan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Sir,Mainly Struts is modern, extensible, agile web application framework suitable for both small- and large-scale web applications.Example:



As,I am writing the struts.xml in a correct manner sir.Please advise.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Premila Devi Dayalan wrote:Dear Sir,Mainly Struts is modern, extensible, agile web application framework suitable for both small- and large-scale web applications.


Yeah, I actually know what it is.

As,I am writing the struts.xml in a correct manner sir.Please advise.


Seems fine; there are several ways to configure Struts 2, this is one of them.

Please ask Struts-related questions in the Struts forum.
 
Premila Devi Dayalan
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lots.
 
Ew. You guys are ugly with a capital UG. Here, maybe this tiny ad can help:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic