Download
dicom hl7 verfication java basis n.
Skip this Video
Loading SlideShow in 5 Seconds..
DICOM / HL7 Verfication / Java Basis PowerPoint Presentation
Download Presentation
DICOM / HL7 Verfication / Java Basis

DICOM / HL7 Verfication / Java Basis

123 Vues Download Presentation
Télécharger la présentation

DICOM / HL7 Verfication / Java Basis

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. DICOM / HL7 Verfication / Java Basis • Random user with no account justs wants to validate an HL7 message or DICOM object • The next diagram shows a number of ways to achieve that. There are alternative solutions shown in this diagram. • Four specific options/diagrams are then drawn to show how this would work if you chose certain implementations. • There are certainly other options (or combinations of options). The next step is a table of benefits of the different approaches.

  2. Client J2EE application server: Tomcat / Jboss / Weblogic http request Web server Embedded with AJAX web browser http response Html as result from JSP forward http request DICOM files process the request or delegate to an abstract model object When business logic finished decide which view for client generate View: JSP / html etc. Forward to corresponding view page HL7 files delegate Model: an interface specify operations, No concrete implementation An implementation for postgres DB Define at deploy Like a plug n play Collection of Implementation Methods An implementation For File System … Middleware: Java Object business logic Persist data Process xml, XSLT Invoke services like RMI, Web services, JMS xml JAXP dom4j DB New implementation For Oracle JAX-RPC using SOAP SAAJ: Soap with Attch. Transform XSLT Web Services call RMI RMI Notes: 1. If clunnie on Gazelle server box, it just direct java call, so does Joela HL7 app. Java Object RMI Web services Execute command JNI Clunie Tool C JAX_RPC using SOAP Joela HL7 Java DVTK

  3. Client J2EE application server: Tomcat / Jboss / Weblogic http request Web server Embedded with AJAX web browser http response Html as result from JSP forward http request DICOM files process the request or delegate to an abstract model object When business logic finished decide which view for client generate Forward to corresponding view page View: JSP / html etc. HL7 files Joela HL7 Java Validation Manager JVM Encompassing Web Server Option 1: JNI JNI Clunie Tool C JAX-RPC using SOAP SAAJ: SOAP with Attch. Separate Windows computer with Web server and DVTK Web Services Gazelle main Linux computer call Java Object JVM Encompassing Web Server Windows computer for DVTK Execute command DVTK

  4. Validate HL7 request received by web server Request passed on to Validation Manager (object within the JVM) Validation Manager invokes method on Joela/HL7 validator directly (part of the JVM) Validate DICOM request received by web server Request passed on to Validation Manager (object within the JVM) Clunie tool has been modified to expose one/more subroutines through a JNI interface Validation Manager invokes method on Clunie/JNI interface DVTK cannot live in the same JVM if Gazelle runs on a Linux box Validate DICOM request received by web server Request passed on to Validation Manager (object with the JVM) Validation Manager invokes Web Services on a separate Windows box that is running the DVTK software. Some Java (or other) glue code on the Windows box bridges the Web Services request to the DVTK evaluation software JVM Option 1: JNI

  5. Option 1 Assumptions • Validation Manager is a Java class that is invoked by the Web Server (probably a Gazelle class before that). • Pull as many managers as possible into the JVM that runs the Web Server • Some software (DVTK) will have to run elsewhere • For things not written natively in Java, use JNI to get to the C libraries or C++ objects

  6. Client J2EE application server: Tomcat / Jboss / Weblogic http request Web server Embedded with AJAX web browser http response Html as result from JSP forward http request DICOM files process the request or delegate to an abstract model object When business logic finished decide which view for client generate Forward to corresponding view page View: JSP / html etc. HL7 files Joela HL7 Java Validation Manager JVM Encompassing Web Server Option 2: No JNI JAX-RPC using SOAP SAAJ: SOAP with Attch. “system” Separate Windows computer with Web server and DVTK Web Services Gazelle main Linux computer call Clunie Tool C Java Object JVM Encompassing Web Server Windows computer for DVTK Execute command DVTK

  7. JVM Option 2: No JNI • Same as Option 1 except that legacy code is not integrated using JNI but is executed through “system” commands

  8. Client J2EE application server: Tomcat / Jboss / Weblogic http request Web server Embedded with AJAX web browser http response Html as result from JSP forward http request DICOM files process the request or delegate to an abstract model object When business logic finished decide which view for client generate Forward to corresponding view page View: JSP / html etc. HL7 files Joela HL7 Java Validation Manager JVM Encompassing Web Server Option 3: RMI RMI RMI Separate Windows computer with DVTK Gazelle main Linux computer Java Object Java Object JVM / No Web Server Needed Clunie Tool C Windows computer for DVTK Execute command DVTK

  9. JVM Option 3: RMI • Same as Option 2 except that remote applications (DVTK, Clunie) are invoked with RMI and not Web Services or “system” • Implies one or more JVMs running on those systems to accept the RMI request

  10. Client J2EE application server: Tomcat / Jboss / Weblogic http request Web server Embedded with AJAX web browser http response Html as result from JSP forward http request DICOM files process the request or delegate to an abstract model object When business logic finished decide which view for client generate Forward to corresponding view page View: JSP / html etc. HL7 files Joela HL7 Java Validation Manager JVM Encompassing Web Server Option 4: Message Queue Message Queue Message Queue Separate Windows computer with DVTK Gazelle main Linux computer Java Object Java Object JVM / No Web Server Needed Clunie Tool C Windows computer for DVTK Execute command DVTK

  11. JVM Option 4: Message Queue • Same as Option 3 except that communication from the Evaluation Manager to components outside the JVM is through a Message Queue