NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Development and Build Environment

Third Party Tools

    • Spring: A lightweight open-source application framework.
      • Spring
        Multiexcerpt include
        nopaneltrue
        MultiExcerptNameExitDisclaimer
        PageWithExcerptwikicontent:Exit Disclaimer to Include
      • Spring Batch
        Multiexcerpt include
        nopaneltrue
        MultiExcerptNameExitDisclaimer
        PageWithExcerptwikicontent:Exit Disclaimer to Include
      • Spring Batch
  • Spring Batch Reference
  • Hibernate: An open source Java persistence framework
      • Reference
        Multiexcerpt include
        nopaneltrue
        MultiExcerptNameExitDisclaimer
        PageWithExcerptwikicontent:Exit Disclaimer to Include
    • Hibernate: An open source Java persistence framework

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

    • Maven: Apache build manager for Java projects

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

    : An Open Source IDE
    • : An Open Source IDE

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

Loader Framework Code

The Loader Framework code is available in the NCI Subversion (SVN) repository. It is comprised of three Framework projects. Also at the time of this writing there are three projects in the repository that utilize the Loader Framework.

...

The preceding projects utilize Maven for build and dependency management. You may obtain the Maven plugin for Eclipse

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
.

How to Use the Loader Framework: A Roadmap

...

The projects containing the Loader Framework (PersistanceLayer , loader-framework , and loader-framework-core) use Maven for dependency management and build. You will still use Eclipse as your IDE and code repository, but you will need to install a Maven plugin for Eclipse.for Eclipse.

  1. Install the Maven plugin for Eclipse
    Multiexcerpt include
    nopaneltrue
    MultiExcerptNameExitDisclaimer
    PageWithExcerptwikicontent:Exit Disclaimer to Include
    Install the Maven plugin for Eclipse.
  2. Provide a URL and userid/password to a Maven repository on a server (which manages your dependencies or dependent jar files). The Maven repository at Mayo Clinic is 

    Code Block
    http://bmidev4:8282/nexus-webapp-1.3.3/index.html
  3. Import the Loader Framework classes from SVN.
  4. You will most likely see build errors about missing jars. Resolve those by right clicking on the project with errors, select Maven, and Resolve Dependencies. This will pull the dependent jars from the Maven repository into your local environment.
  5. To build a Maven project, right click on the project, select Maven, then select assembly:assembly.

...

For more information on the Maven project, refer to the documentation

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
.

Configure your Spring Config (myLoader.xml)

...

What follows is a brief overview of those tags related to the LoaderFramework. For more detail refer to the Spring documentation. For more detail refer to the Spring documentation

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
.

Beans

The beans:beans tag is the all-encompassing tag. You define all your other tags in it. You can also define an import within this tag to import an external Spring config file. (Import is not shown in the sample image above.)

...

Spring Batch gives the Loader Framework some degree of recovery from errors. Like the other features of Spring, error handling is something you need to configure in the Spring config file. Basically, Spring will keep track of the steps it has executed and make note of any step that has failed. Those failed steps can be re-run at a later time. The Spring documentation provides additional information on this function. See ConfigureJob and ConfigureStep

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
.

Database Changes

None

Client

...

Spring can accommodate parallel processing to enhance performance. The Spring documentation provides a good discussion of this topic. Refer to the Scalability

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
page.

Internationalization

...