NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Scrollbar
iconsfalse

...

Page info
title
title

Section
Column
Panel
titleContents of this Page
Table of Contents
minLevel2
Column
Align
alignright
Include Page
Menu LexEVS 6.x Loader to Include
Menu LexEVS 6.x Loader to Include

...

  • This Loader Framework requires LexEVS release 56.0 or abovex.
  • Development systems are required to install the Sun Java Development Kit (SDK) or Java Runtime Environment (JRE) version 1.5.0_11 or above.7.
  • Maven 23.1 or greaterx.
  • For software and hardware dependencies for the system hosting the LexEVS runtime, refer to the  Installation and downloads of the summary page for the latest release.

Development and Build Environment

Third Party Tools

    • Spring: A lightweight open-source application framework.
      • Spring
      • Spring Batch
      • Spring Batch Reference
      • Hibernate: An open source Java persistence framework
        Multiexcerpt include
        nopaneltrue
        MultiExcerptNameExitDisclaimer
        PageWithExcerptwikicontent:Exit Disclaimer to Include
      • Spring Batch
        Multiexcerpt include
        nopaneltrue
        MultiExcerptNameExitDisclaimer
        PageWithExcerptwikicontent:Exit Disclaimer to Include
      • Spring Batch 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
    Maven: Apache build manager for Java projects
    • Eclipse: 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 Eclipseobtain the Maven plugin for Eclipse

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
.

How to Use the Loader Framework: A Roadmap

...

  1. Install the Maven plugin for Eclipse
    Multiexcerpt include
    nopaneltrue
    MultiExcerptNameExitDisclaimer
    PageWithExcerptwikicontent:Exit Disclaimer to Include
    .
  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.

...

The following diagram is from the Maven documentation:

screenshot of the Maven directory structure

For more information on the Maven project, refer to the documentationon 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

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

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include
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

...

Test Results

See System Testing

...

Scrollbar
iconsfalse