SampleTemplatePage added by Pinaki PoddarA template for OpenJPA SamplesIntroductionA paragraph describing the basic purpose of the presented sample. In general, the purpose of a sample could be, but not limited to,
For example, InstallationState the availability of the sample. Is the distribution available as a downloadable archieve? If packaged in an archieve, all source code, build instructions must be available in the distribution itself. A README.txt should be inside and outside the distribution. Is the sample to be checked out from code repository? In such cases, building the sample should be done with Ant or Maven. Prefer Ant to make the dependencies and steps more visible. The steps in this section should be clear and concise for an user to follow them to build, deploy and run the samples. EnvironmentEnumerate the software artifacts required to build, deploy and run the sample. The artifacts should be categorized into build time and run time dependencies. Configuration Often building a sample will require the user to configure dependencies (such as OpenJPA libraries or JDBC Driver), for his/her local environment. Best PracticesThe samples, besides demonstration of a feature, are a suitable vehicle of showing good development practices in JPA application programming model such as persistent domain modeling or architectural practices. It is recommended that such best practices be mentioned in several places:
CaveatsThe complete develop-build-run cycle of a sample will often bring out the special considerations. For example, reported common errors in deployment in a container and their remedies or certain undesirable usage patterns. The description of a sample should highlight these special considerations rather than making the exercise appear as a series of perfectly easy steps. The caveats can be further highlighted by linking them to relevant JIRA issues or forum discussions or external blogs etc. ...
Change Notification Preferences
View Online
|
Add Comment
|
