500 likes | 738 Views
EAS311 Benchmark Comparison of J2EE Application Servers. Kashif Ahmed Sr. Consultant [PowerObjects] kashif@powerobjects.com (612) 339-3355. Who We Are…. PowerObjects Multi-Million dollar consulting company Sybase Consulting Partner Value Added reseller Premier consulting partner
E N D
EAS311 Benchmark Comparison of J2EE Application Servers Kashif AhmedSr. Consultant [PowerObjects]kashif@powerobjects.com (612) 339-3355
Who We Are… • PowerObjects • Multi-Million dollar consulting company • Sybase Consulting Partner • Value Added reseller • Premier consulting partner • Custom Solution Provider • Specialize in EAServer and Web Development • Offer Web application hosting • Certified Developers staff • PowerBuilder, Java and Microsoft Certifies • Member of Team Sybase
AGENDA • Introduction to J2EE and EJBs • Why Application Servers? • Introduction to Application Servers • Installation Requirements • Interactive Demo • Comparison Matrix • Cost Comparison • Performance Comparison • Conclusion and Summary • References • Questions
INTRODUCTION TO J2EE AND EJBs • J2EE Environment • What is Enterprise Java Bean (EJB) • Basic EJB Environment • Types of EJBs • Why EJBs
INTRODUCTION TO J2EE AND EJBs J2EE Environment • J2EE Server Overview • The J2EE platform is essentially a distributed application server environment – a Java environment that provides the following • A runtime infrastructure for hosting applications • A set of Java extension APIs to build applications
INTRODUCTION TO J2EE AND EJBs What is Enterprise Java Bean (EJB)? • Enterprise Java Bean (EJB) • Enterprise JavaBeans (EJB) is architecture for server-side component based distributed applications written in Java. • It provides an environment in which components from several manufacturers can be assembled into a working application. • Enterprise beans are specialized components that can encapsulate session information, workflow, and persistent data. • The EJB specification provides a solution for a clear separation of the business logic and the details
INTRODUCTION TO J2EE AND EJBs Basic EJB Environment • The EJB components run inside the container of an EJB server. • The container has the connection to the database or to other components • An EJB client can access the EJBs from the same Java Virtual Machine (JVM) or from another JVM over remote interfaces • The EJB home component is comparable to a factory for the EJB objects. • The EJB objects retrieved from the home components can be also local or remote objects
INTRODUCTION TO J2EE AND EJBs Basic EJB Environment • An enterprise bean has three parts: • The home interface is used by the client to create and discard beans. • The remote interface is used by the client to execute the bean’s business methods. • The implementation or bean class is where the bean’s business methods and callback methods are implemented. The client never invokes these methods directly; they are invoked by the bean container
INTRODUCTION TO J2EE AND EJBs Types of EJBs
INTRODUCTION TO J2EE AND EJBs Why EJBs? • ISSUE: • The application developers are confronted with many challenges. Some of the most important ones are managing concurrency, persistence and transactions. As a result, the developers have to either develop proprietary code or buy supporting frameworks. • SOLUTION: • These problems are solved by using enterprise beans. The use of enterprise beans allow developers to focus on the business logic and release them from coding infrastructure and middleware logic, and developers become more productive and efficient. • As with most other technologies, enterprise beans do not provide the unique solution to all problems. Using enterprise beans has advantages and disadvantages. However, the advantages outweigh the disadvantages, especially for more complex applications that require a sophisticated robust and distributed persistent model.
WHY APPLICATOIN SERVERS? • Application servers offer server-side support for developing and deploying business logic. • Business logic that may be located on the server or, more often, partitioned across client and server. • Enterprises rely daily on server-side business processing, ranging from mainframe transaction systems to client/server DBMS stored procedures.
WHY APPLICATOIN SERVERS? • Running business processes on the server provides the following: • Re-use: • A variety of client applications (HTML-only, Java applets, COM+ components, etc.) can share the same business logic • Intellectual property protection: • Sensitive business logic often includes or manages trade secrets that could potentially be reverse engineered. • Security of business logic: • By leaving the logic on the server, user access can be controlled dynamically, revoked at any time. • Security of network communications: • Application servers allow use of internet-standard secure protocols like SSL or HTTPS in place of less secure proprietary DBMS protocols
WHY APPLICATOIN SERVERS? • Manageability: • Server-side applications are easier to monitor, control, and update. • Performance: • Database intensive business logic will often perform much better when located near the database, saving network traffic and access latency. • Download time: • I*Net (intranet + extranet + internet) clients most often require access to many different business processes that could require substantial network bandwidth and client memory to download all logic to the client. • Compute load: • Running compute-intensive applications on servers saves client cycles.
INTRODUCTION TO APPLICATON SERVRS BEA WebLogic 7.0 IBM WebSphere 5.0 Sybase EAServer 4.2
Strengths Weaknesses It provides robust performance and scalability support; full J2EE platform support; it provides GUI and CLI tools for deployment and configuration; provides better EJB/Servlet/JSP support; Easily configured and managed clustering. Limited monitoring capabilities; lack of wide third party tools support; missing some features for RAD and wizard-based deployment and configuration; Bigger footprint; Documentation needs improvement. INTRODUCTION TO APPLICATON SERVRS Sybase EAServer 4.2 • Summary • EAServer has open standards-based support for multiple component models and innovative new performance features and tuning options. Provides various tools and utilities for an easy setup, deployment, and configuration. Its administration capabilities are not wizard-based but still powerful.
Strengths Full J2EE support; Java Centric; Proprietary extensions and value-added features and utilities; Good support from third party vendors; Wizards based deployment; Small footprint; Customizable Administration GUI; Good documentation. Difficult to configure for high performance and clustering; lack of advanced caching/pooling features for scalability. Weaknesses INTRODUCTION TO APPLICATON SERVRS BEA WebLogic 7.0 • Summary • WebLogic offers full J2EE support as well as providing support for prominent component models (COM). Also they seem to come out with features ahead of those becoming part of standards giving them a status of a pioneer in server side java development. Product offers improved development, deployment, and administration support.
Strengths Weaknesses WebSphere is a Java centric; Strong contribution to J2EE efforts; It is one of the leading application servers which provides server management tools/APIs, transaction support, security, and messaging infrastructure. It provides custom development and deployment IDE and tools; also provides integration with complimentary third party products and other IBM products. Performance features are not as advanced; Setup is complex and management of server also includes complexities. INTRODUCTION TO APPLICATON SERVRS IBM WebSphere 5.0 • Summary • WebSphere provides a comprehensive array of offerings for the J2EE platform including complete tools support. Also provides sophisticated management tools (extensive integration with Tivoli line), includes powerful features for self-optimizing, self-configuring, self-protecting and RAS/Troubleshooting
INSTALLATION REQUIREMENTS Sybase EAServer 4.2 • Minimum Hardware & Software prerequisites (Note: The installation program requires 170MB of disk space.) • Intel(R) Pentium(R) 90 MHz processor minimum or Higher with CD drive • 32 MB RAM minimum (64 MB RAM is recommended) • Disk space: • It requires 400MB minimum disk space for installing Sybase Enterprise Application Server with installation type FULL. • Display resolution: • 800 x 600 display minimum (1024 x 768 recommended) • It supports following O.S. • Windows(R) 2K • WindowXP • WinNT 4 w/ Service Pack 5 or higher • Sun Solaris 2.6 or 2.8 requires Sun patches • HP-UX 11.0 requires HP patches • IBM AIX 4.3.3 and 5.1.
INSTALLATION REQUIREMENTS BEA WebLogic 7.0 • Minimum Hardware & Software prerequisites • Intel(R) Pentium(R) II processor minimum (Pentium 200 MHz or higher is recommended) • 256 MB RAM minimum (512 MB RAM is recommended) • Disk space: • You will require 170 MB minimum disk space for installing WebLogic Application Server. • Display resolution: • 800 x 600 display minimum (1024 x 768 recommended) • It supports following O.S. • Windows(R) 2K Server / Advanced Server • WindowsXP • WinNT 4 w/ Service Pack 6 or higher • Red Hat Linux • SuSE, Version 7+ • UP UX • IBM AIX , IBM AS/400
INSTALLATION REQUIREMENTS IBM WebSphere 5.0 • Minimum Hardware & Software prerequisites • Intel(R) Pentium(R) processor minimum (Pentium 500 MHz or higher is recommended) with CD-ROM. • 256 MB RAM minimum (512 MB RAM is recommended) • Disk space: • You will require 520 MB minimum disk space for installing WebSphere Application Server (including IBM Software Development Kit). • Display resolution: • 800 x 600 display minimum (1024 x 768 recommended) • 800 x 600 display minimum ( 1024 x 768 recommended ) • It supports following O.S. • Windows(R) 2K w/ Service pack 3 or higher • Solaris ver. 8 or 9 • WinNT 4 w/ Service Pack 6 or higher • Red Hat Linux, Version 8 or SuSE, Version 7.2 • HP-UX ver 1.1 with Quality Pack of December 2002 • AIX version 4.3.3 with the 4330-10 recommended maintenance package.
INTERACTIVE DEMO BEA WebLogic 7.0 IBM WebSphere 5.0 Sybase EAServer 4.2
INTERACTIVE DEMO Sybase EAServer 4.2
INTERACTIVE DEMO Sybase EAServer 4.2
INTERACTIVE DEMO BEA WebLogic 7.0
INTERACTIVE DEMO IBM WebSphere Application Server 5.0
INTERACTIVE DEMO IBM WebSphere 5.0 – Test Environment
COMPARISON MATRIX Java and Industry Standards • All three application servers support and offer almost same java and Industry standards.
COMPARISON MATRIX Server-side Component Model
COMPARISON MATRIX Platforms Supported
COMPARISON MATRIX EJB Features
COMPARISON MATRIX Security Features • Most of the Security features are common in all three application Servers.
COMPARISON MATRIX Performance and Scalability Features • All of them provides different way to increase performance and scalability.
COMPARISON MATRIX Performance and Scalability Features
COMPARISON MATRIX Performance and Scalability Features
COMPARISON MATRIX Performance and Scalability Features
COMPARISON MATRIX Development and Deployment Aids
COMPARISON MATRIX Server Administration
COMPARISON MATRIX OEM Features
COST COMPARISON Sybase EAServer 4.2 • Enterprise Edition: • $20,000 ($28,000 UNIX) Concurrent and per CPU pricing • Advanced Edition: • $7500, ($11,250 UNIX) Concurrent and /CPU pricing. • Small Business Edition: • $2995 /Server pricing only.
COST COMPARISON Concurrent User License Vs per CPU / processor license • Per CPU license: • license is based on per processor, if you have dual(2) processor system then you need to buy two licenses, if you have quad (4) processor powerful machine then you need to buy 4 licenses. • Concurrent User license: • start with 50 concurrent users and then increments. • If you have powerful dual(2) or quad (4) processor machine and #'s of users are not too many then concurrent Users license is preferred. • for example. • For a QUARD (4) processor system Advance Edition license: per CPU for 100 users = 4 x 7,500 == $30,000 Concurrent USER license for 100 users = 2 x 7,500 == $15,000
COST COMPARISON BEA WebLogic Application Server 7.0 • Enterprise Edition: ( clustered / Premium ) • $17,000 (Win, Linux) only per CPU. (Unlimited Users) • Advanced Edition: ( Base Version - Advantage ) • $10,000 (Win, Linux) only per CPU. (Unlimited Users) • - You get Developers' Kit for 4 developers = Free ( WAS: $2,500)
COST COMPARISON IBM WebSphere Application Server 5.0 • Enterprise Edition: • $27,000 (Win, Linux) only per CPU. (Unlimited Users) • Advanced Edition: • $12,000 (Win, Linux) only per CPU. (Unlimited Users) • Express Edition: • $2000 (Win, Linux) per only per CPU. (Unlimited Users)
Cost $$ COST COMPARISON GRAPH EAServer, WebLogic, WebSphere
PERFORMANCE COMPARISON Server Startup and Shutdown time and memory usage.
SUMMARY / CONCLUSION Conclusion • It can’t be said that which application server is the best and which server a company should used for J2EE Application Development because all offers full J2EE platform support and selection depends on different other factors like: • What existing technical skills developers have? • How much budget company has to spend on software purchase? • How much hardware resources are available to the developer? • What is the existing development platform? • What is the time frame for project completion? • and many more …
REFERENCES URLs • Sun J2EE Tutorial: • http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/Overview2.html • Enterprise Bean: • http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/EJBConcepts.html • Enterprise Java Bean Intro: • http://developer.apple.com/techpubs/webobjects/Enterprise_JavaBeans/Introduction/chapter_2_section_2.html • WSAD home page • http://www-3.ibm.com/software/ad/studioappdev/ • WebSphere related topics • http://www.websphere-world.com/ • WebSphere Central • http://www.webspherecentral.com • IBM RedBooks • http://www.redbooks.ibm.com/ • Sybase Web Site • http://www.sybase.com • (Note: comparison matrix is researched by Sybase) • WebLogic Web Site • http://www.bea.com • IBM WebSphere Application Server • http://www.ibmlink.ibm.com/usalets&parms=H_202-167
CONTACT PowerObjects • Send E-mail and Questions: • kashif@powerobjects.com • dean@powerobjects.com • jim@powerobjects.com • Visit our Web-site: • http://www.powerobjects.com • To Download the code and latest presentation: • http://www.kashifahmed.com/papers • Call Us: • Office (612) 339-3355
Grab one of my business card Kashif AhmedSr. Consultantwww.powerobjects.com 401 2nd Ave. S. Suite 843Minneapolis, MN 55401Office 612.339.3355 x 118fax 612.339.4433 kashif@powerobjects.com