Скачать презентацию Professional Java Forthnet n The Скачать презентацию Professional Java Forthnet n The

896e4119c1ebe52940a94cdbcd13e68f.ppt

  • Количество слайдов: 19

Professional Java & Forthnet n. The . . ilties: Availability, Scalability, Reliability, Security Manageability, Professional Java & Forthnet n. The . . ilties: Availability, Scalability, Reliability, Security Manageability, Maintainability, Flexibility, Extensibility Interoperability, Portability, Serviceability Productivity, Performance, Support n. Forthnet: n. Java Software for in-house use. Enterprise Edition © Forthnet 2007: Professional Java 1

Professional Java: Contents n Tools n Libs (& Standards) (jse, jee, xml, ws, spring, Professional Java: Contents n Tools n Libs (& Standards) (jse, jee, xml, ws, spring, hibernate, turbine, gwt, open source) n Systems (bea wls & wli, tomcat, apache, rdbms, sap & siebel) n Humans & Processes (reuse, testcases, communication-training-co-working, stability) (eclipse, maven, posix & http) © Forthnet 2007: Professional Java 2

Tools: eclipse n n Refactoring Prefect for inspecting code (legacy). Based on SWT, not Tools: eclipse n n Refactoring Prefect for inspecting code (legacy). Based on SWT, not “pure java”. Evaluated netbeans © Forthnet 2007: Professional Java 3

Tools: maven (1 & 2) n n n n A build tool similar to Tools: maven (1 & 2) n n n n A build tool similar to Ant plus lifecycle and inheritance. Artifact: name-version-classifier (jars, war, ears, tars) Artifact repositories Management of (transitive) dependencies. Release & deployment Reports and documents generators Plugins generate and attach code. Forthnet transitioning from maven 1 -> maven 2 © Forthnet 2007: Professional Java 4

Tools: RDBMS, POSIX & Free Software n n n Sybase, My. Sql bash, perl Tools: RDBMS, POSIX & Free Software n n n Sybase, My. Sql bash, perl (test cases), Linux CVS, svn, Web. DAV Apache Open Source Software Free Software (preferably) © Forthnet 2007: Professional Java 5

Libs: JSE & JEE n n n JRE 1. 4 1. 5 1. 6 Libs: JSE & JEE n n n JRE 1. 4 1. 5 1. 6 (performance, comfort, forced to upgrade by chain of tools) JEE (servlet, ejb, jms, jconnectors, datasource) Later migrate to: ejb 3, jpa, ws* JRE 1. 5 © Forthnet 2007: Professional Java 6

Libs: Web Services & XML n n n n Web. Logic’s declarative approach. Axis Libs: Web Services & XML n n n n Web. Logic’s declarative approach. Axis for ws clients Later: annotations (jsr-175), ws-adressing, wscooperation (2 -phase & soft transactions) Extensive use of XML bindings-to-java. NOTE: WS do not provide for RPC, but rather docoriented JAXB 1 & 2 (possible to extend them by using plugins) Also evaluated XMLBeans (BEAs). © Forthnet 2007: Professional Java 7

Libs: Hibernate (OR tools) n Suitable for complex logic. Overkill for set-operations & simple Libs: Hibernate (OR tools) n Suitable for complex logic. Overkill for set-operations & simple data-entry. More difficult when db schema pre-exists. Configurations require experience. n Hyperjaxb 2 & 3 map: xml pojos db n n n © Forthnet 2007: Professional Java 8

Libs: Web UIs: Turbine, GWT n Turbine: An old-classic MVC template-based framework. n n Libs: Web UIs: Turbine, GWT n Turbine: An old-classic MVC template-based framework. n n n n GWT: full AJAX (Dynamic DOM manipulation). No http request-reply cycles Compile time checked. Java tooling. Requires javascript browsers. Evaluated XForms frameworks (oberon, chiba, AJAXforms) Not evaluated portlets (jsr-168) © Forthnet 2007: Professional Java 9

Libs: Open Source Libraries Spring n n Dependencies injection Proxy-base AOP Libraries for: JDBC, Libs: Open Source Libraries Spring n n Dependencies injection Proxy-base AOP Libraries for: JDBC, OR Tools, JNDI, TXs, JMX, remoting, ws “poor-man’s jee” n n n apache-commons, . . . quartz Apache-like licenses, allow redistibution. © Forthnet 2007: Professional Java 10

Systems: BEA Systems Weblogic Server 8. 1: n n Generic, full-blown JEE stack. The. Systems: BEA Systems Weblogic Server 8. 1: n n Generic, full-blown JEE stack. The. . . lities provider SNMP monitored Clustered Weblogic Integration 8. 1: n n Based on WLS A process server End-user oriented Enhanced monitoring capabilities © Forthnet 2007: Professional Java 11

Systems: Billing System n n A request-processing system based on C & Sybase libs. Systems: Billing System n n A request-processing system based on C & Sybase libs. Javaserver: custom wire protocol, similar to jdbc. Web Services (using glib from C side) POSIX (file operations, IPC). © Forthnet 2007: Professional Java 12

Systems: SAP, Siebel Integrator systems: n WLS, WLI, Billing System Integration end-points n SAP: Systems: SAP, Siebel Integrator systems: n WLS, WLI, Billing System Integration end-points n SAP: JConnector n SIEBEL: Web. Services © Forthnet 2007: Professional Java 13

Humans: Reuse Types of reuse: n copy-paste: easy but not actually reusing. n sources: Humans: Reuse Types of reuse: n copy-paste: easy but not actually reusing. n sources: (arcane) cvs alias or similar n jars: maven-way, all or nothing n ejbs: revision problems n ws: SOA n Don’t build software at all! Reuse requires a mind-set, not tools. © Forthnet 2007: Professional Java 14

Humans: Test Cases n n n Programming with “safety belts” Prefer incremental approach (add Humans: Test Cases n n n Programming with “safety belts” Prefer incremental approach (add more tests on each error) Required for shared projects. Perfect match for autonomous builds. Test code is a demo client code © Forthnet 2007: Professional Java 15

Humans: Collaboration & Training n Training through Open Source projects. Dissemination of knowledge (formal Humans: Collaboration & Training n Training through Open Source projects. Dissemination of knowledge (formal & informal) Collaboration tools (wikis, bulletin boards, issue trackers) Documentation as a means of communication n Above all: Stability! n n n © Forthnet 2007: Professional Java 16

Notes: Not using, but considering. . . n n n integration servers (autonomous builds) Notes: Not using, but considering. . . n n n integration servers (autonomous builds) AOP Enterprise Service Bus (ESBs) © Forthnet 2007: Professional Java 17

Summary n STAY WAY!!! © Forthnet 2007: Professional Java 18 Summary n STAY WAY!!! © Forthnet 2007: Professional Java 18

Summary n n n Java’s run-everywhere and extensive libraries make it suitable for integration. Summary n n n Java’s run-everywhere and extensive libraries make it suitable for integration. Compile-time static typing and best-of-breed collections structures facilitate back-end logic. JEE extensions suitable for long running processes. Open libs & standards ease integration. Trained and well-shaped developer community. © Forthnet 2007: Professional Java 19