개발자 지향 was : ibm websphere liberty server

35
개개개 개개 WAS - IBM WebSphere Liberty Server

Upload: jungwoon-lee

Post on 19-Jun-2015

1.354 views

Category:

Technology


16 download

DESCRIPTION

Developer oriented WAS : IBM WebSphere Liberty Server

TRANSCRIPT

  • 1. WAS - IBM WebSphere Liberty Server

2. WAS infrastructure WAS - IBM WebSphere Liberty Server Liberty Server Q&A 3. , , , , , -, 4. WAS WAS Low-End Low-End High-End WAS (Fidelity) (Resiliency) 5. WAS = 6. WAS infrastructure WAS - IBM WebSphere Liberty Server Liberty Server Q&A 7. IBM WebSphere Application Server IBM , ~ . , ~ . , ~ . 8. - IBM WAS Liberty ServerIBM WASIBM WebSphere Liberty Server : http://www.slideshare.net/stephanj/ejb-31-by-bert-ertman 9. ISV IBM WAS Liberty Server eclipse Eclipse 50MB zip Unzip IBM Installation Manager 2 : 1. Eclipse IBM WAS 2. IBM WAS Liberty Server WASdev.net www.wasdev.net 10. server.xml jsp-2.2jdbc-4.0 'singleton' 'instance' master included xml ( ) 11. - server.xml /Eclipse WAS v8.5.5 Liberty server.xml / (Eclipse ) : XML Eclipse wsadmin 12. / / IBM WebSphere Liberty Server & Tomcat Liberty Server JBoss Web Profile Liberty Profile JBoss 20%, Tomcat 25% Throughput Comparison of various lightweight serversStartup & Footprint Comparison of various lightweight servers 120% 1208.0100937.0 6.0805.35.0 60 4.0463.0 2.0342.3401.7 201.0 0.00 Tomcat 7.0.12 JBoss 7.0 Web GlassFish 3.1 Liberty Profile Profile Web Profile Startup time Footprint100%100%104 Relative Throughput (higher is better)7.8Footprint in MB (Lower is Better)Startup time in seconds (Lower is Better)9.090% 80%80%83%60%40%20%0% Tomcat 7.0.12 JBoss 7.0 Web GlassFish 3.1 Liberty Profile Profile Web Profile 13. Tomcat ? 14. EJB-Lite 3.1jpa-2.0CDI 1.0blueprint-1.0 jsp-2.2osgi-jpa-1.0jsf-2.0 servlet-3.0jaxrs-1.1 wab-1.0IBM WebSphere Liberty Server Web/Mobile OSGi Java EE 6.0 Web Profile 15. Java EE Web Profile (EJB 3.1 Lite ) Java EE Web Profile Web Java EE Web EJB 3.1 Lite Web profile : Servlet 3.0 JavaServer Pages (JSP) 2.2 Expression Language (EL) 2.2 Debugging Support for Other Languages (JSR-45) 1.0 Standard Tag Library for JavaServer Pages (JSTL) 1.2 JavaServer Faces (JSF) 2.0 Common Annotations for Java Platform (JSR-250) 1.1 Java Transaction API (JTA) 1.1 Java Persistence API (JPA) 2.0 Bean Validation 1.0 Enterprise JavaBeans (EJB) 3.1 Lite + Interceptors 1.1: Managed Beans 1.0: Contexts and Dependency Injection: JSR-299 1.0 and JSR-330 1.0 Java EE Web Profile EJB 3.1 Lite Key EJB 3.1 EJB Session Beans (stateful, stateless, singleton)Message Driven BeansFull EJB 3.1 2.x/1.x CMP/BMP EntityJava Persistence 2.0Local/No Interface3.0 Remote2.x Remote Home/ComponentJAX-WS web servicesJAX-RPC web servicesEJB Timer ServiceAsync Bean Invocation Interceptors RMI-IIOP interop Container managed transactions / Bean managed transactionsDeclarative Programmatic SecurityEmbeddable API 16. applicationfeatures apps resourcesapplicationapplicationdropins locationserver.xml config updates jsp-2.2feature updatesjsf-2.0 servlet-3.0wab-1.0app updatesssl-1.0 transaction-1.1jndi-1.0Liberty runtime OSGi framework JDK 6.0/7.0monitor-1.0 sessionDatabase-1.0jdbc-4.0, , IBM WebSphere Liberty Server 17. OSGi ? 18. OSGi OSGi Java , , . Java VM rt jce jsse plugin sunjce_prov. dnsns .. marketing workeffort ebay minerva minilang guiapp accountingBegin Here Java EE party assetmaint hhfacility pos. content manufact. product bi workflow ecommerce oagis googlebase ofbiz ordercommon catalina base datafile entity widget rome jpos18 jcl barcode4j freemarker serializer jython namingresolver mail jenks jakarta log4j httpunit mx4j batik fop tomcat poi lucene jdom derby commonsEAR 2Module AModule CIsolationModule GModule CClass Not Found ExceptionModule AModule Bxerces xmlapis xmlrpc xmlgraphicsOSGi v4.2 FrameworkJava EE App Server EAR 1axis ezmorph servlets jetty looks jdbm bsf bsh velocity ws-commons geronimo .. json wsdl4j xalanEverything isolatedSharingEverything shared 19. 20. 21. 22. SPI IBM WebSphere Liberty Server Liberty System Programming Interface(SPI) . OSGi Liberty . . Liberty 3rd . : OSGi (: Custom User Registry) 23. jaxb wsSecurity jaxws : Archive Install Installation Manager wmqJmsCli wasJmsSec jmsMdb ent urity wasJmsClie wasJmsSer nt vercollective Member cdi ejbliteldapRegist webCache ry managed Beans beanvalid localConn jaxrs osgi.jpa ation ector restConne blueprint ssl ctor appSecuri jsf wab json ty sessionDa jsp monitor tabase servlet jpa jndi jdbc Applicatio Feature HTTP n Manager Transport Manager oauthLiberty extended 30MB : Liberty . : server package serverName --include=minifyLiberty runtime 50MB (Java EE Web Profile) 24. The Liberty Repository Liberty : Open source project integration Individual Liberty features SamplesOn www.wasdev.net _ ______ __________ __ _______ ______ ________ __________ ______ ___________ ______ _______ ___________ _________ ______ ________ http://www.egovframe.go.kr/EgovCompatibility.jsp?menu=5&submenu=3 ______ ______ ____ ____ _______ 25. ? 26. IBM WebSphere Liberty Server IBM WebSphere Liberty Server Agent Liberty / Java, Jython, Jconsol clients JMX APIjythonControlle r Collective :jconsole : 1000 JVM , Agentless Liberty Server Liberty (Collective Server ) (Collective ) Java collective reversed, reconfiguredLiberty B : - Liberty Server, WAS Base, WAS ND Liberty Server Liberty (Collective Server ) (Collective )Liberty A Liberty Collective 27. IMDB WXS AApp App App App In-Memory Data Grid DB I/O WASIMDGGrid Client /1 Grid QueryAAppIn-Memory DataGrid In-Memory DataGrid WebSphere eXtreme Scale Session cluster EISP3R1R4P2R5B A C D5 ! 4 !D C Insert/Update/DeleteIf Insert P0A B2 DB Grid (//) R3Database 28. Cloud Cloud Foundry IBM WebSphere Liberty Server Buildpack / https://github.com/cloudfoundry/ibmwebsphere-liberty-buildpackChef for OpenStackIBM WebSphere Liberty Server Chef cookbook https://github.com/WASdev/ci.chef.wlpWW : http://wasdev.net WebSphere User Group : http://websphere.pe.kr 29. : IBM WAS Liberty ServerIBM / IBM WebSphere Liberty Unzip IBM WebSphere Liberty Server 30. WAS infrastructure WAS - IBM WebSphere Liberty Server Liberty Server Q&A 31. : Eclipse Liberty UserFeature 32. : 1. Marketpalce Liberty 2. Servers Runtime Environment Liberty 33. : OSGi UserFeature 1. OSGi Bundle Project ( UserFeatureBudle ) 2. Liberty Feature Project ( UserFeature ) 3. Feature Liberty UserFeature . https://www.ibmdw.net/wasdev/docs/create_your_own_simple_hello_world_user_feature/ 34. : 1. Custom Feature 2. 35. .