MSKCC ADF Project Structure Part 3

Stage 3 – Multiple application “pillar” architecture for advance development. We plan on transitioning to this stage in the future once entire team becomes familiar with ADF 11g.

Based on “Pillar” Architecture

Pillar

Source: Angels in the ADF Architecture

Actual components:

viewresources.jar

  • archive for custom ADF META-INF resources.
  • icons
  • javascripts

CommonApp

Architectural Projects (4):

  • CommonModel -Architectural, framework extensions, and cross modules BC components.
  • CommonViewController-Architectural e.g. framework extensions, ui/taskflow templates.
  • CommonDeclarativeComponent -Declarative components only.
  • Common-Tier independent components, e.g. Utils, Constants, Resource Bundles.

SubsystemApp (1-*)

  • Model -Module specific ADF BCs
  • ViewController -Module specific ADF Faces.

Pros:

  • Size of project files/folders are smaller and easier to work with.
  • Package and deploy modules independently.
  • Flexible and can scale to facilitate high level of reuse.
  • Can utilize“weblogic shared library” deployment benefits.

Cons:

  • Complex dependency management if modules are related and require reuse.
  • Integration and deployment steps are increased, i.e. applications need to be deployed individually as adf libraries.
  • Additional configuration for each application, i.e. AM Pooling parameters, Dynamic JDBC, web.xml, framework extension in project  properties.
  • Harder to adopt if new to ADF.

Stage 3 application dependency

CommonApp dependency

Project Dependency Dependent on Build/deploy type  
viewresources.jar

0

jar (META-INF/adf)
MVCShare

0

class output
CommonModel

1

MVCShare adflib
DeclarativeComponent

2

MVCShare, viewresources.jar adflib
CommonViewController

3

CommonModel, DeclarativeComponent,viewresources.jar adflib

SubsystemApp dependency

Project Dependency Dependent on Build/deploy type  
Model

1

CommonModel class output
ViewController

4

Model, CommonViewController, DeclarativeComponent,viewresources.jar ear
Advertisements

About wesfang

www.linkedin.com/in/wesfang/ https://twitter.com/wesleyfang
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s