






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Electronic Commerce (WS-02/03) 3-
Criteria for EJB Servers: o Compliance to J2EE requirements o Proven real-world deployments o Suitability for application to be deployed (e.g. if the application just consists of JSPs / Servlets and is not expected to include EJBs or Java Messaging Services (JMS)) o Stability o Integration with third-party tools o Tools supporting the deployment process o Administration: Ease-of-maintenance and usability o After-sales support Evaluation of EJB servers: Evaluation of application servers, since almost all leading EJB server products can be downloaded / requested for an limited-time evaluation Important: Evaluation helps find performance patterns of the servers for the given application domain, as well as make evident whether the performance comes “built-in” in the server, or is a result of server- specific enhancements, which would create problems with portability of the application.
Electronic Commerce (WS-02/03) 3-
Sun provides a reference implementation of the J2EE platform and the EJB specification: o Downloadable from http://www.java.sun.com/j2ee/ o Not very performative but good for a start o Includes Cloudscape database o Easy to configure (Configuration tool included) o Usable for sample (toy) systems o Free
Other EJB Servers are: o BEA: WebLogic Server o IBM: WebSphere o jBoss: jBoss Server (Open Source project) o ...
Electronic Commerce (WS-02/03) 3-
Business Logic layer continued... o C#, a "new" language for writing classes and components, that integrates elements of C, C++, and Java, and adds additional features, like metadata tags, related to component development. o Common Language Runtime (CLR) : Programming language-specific code is compiled into a common IL (Internal Language) bytecode format. IL code is then compiled into machine-language and run. Storage Layer: o Microsoft Transaction Server (MTS) for persistency of COM objects
Electronic Commerce (WS-02/03) 3-
Programming language C# (spoken: „C sharp“) vs. Java: o C# and Java both derive from C and C++. Most significant features (e.g., garbage collection, hierarchical namespaces) are present in both. C# borrows some of the component concepts from JavaBeans (properties/attributes, events, etc.), adds some of its own (like metadata tags), but incorporates these features into the syntax differently.
Java runs on any platform with a Java VM. C# only runs in Windows for the foreseeable future. o C# is implicitly tied to the Common Language Runtime (CLR), and is compiled entirely into native code (just-in-time compiled bytecode is possible).
Java code runs as Java Virtual Machine (VM) bytecodes that are either interpreted in the VM, compiled to native code or Just-in-time compiled).
Electronic Commerce (WS-02/03) 3-
Distribution & Data Exchange ADO+ and SOAP-based Web Services vs. JDBC, EJB, JMS and Java XML Libraries (JAXP) o ADO+ is built on the premise of XML data interchange (between remote data objects and layers of multi-tier apps) on top of HTTP (this is called SOAP). .NET's web services in general assume SOAP messaging models. o EJB, JDBC, etc. leave the data interchange protocol at the developer's discretion, and operate on top of either HTTP, RMI/JRMP (Java-specific remote method invocation protocol) or the Internet InterObject Protocol (IIOP). Server-Side Web Service Architecture Active Server Pages+ (ASP+) vs. Java Server Pages (JSP) o ASP+ uses Visual Basic, C#, and other languages for code snippets. All get compiled into native code through the common language runtime (as opposed to being interpreted each time, like ASPs). o JSPs use Java code (snippets, or JavaBean references), compiled into Java bytecodes (either on-demand or batch-compiled, depending on the JSP implementation).
Electronic Commerce (WS-02/03) 3-
Graphical User Interface / Web Interface Win Forms and Web Forms vs. Java Swing: o Win Forms and Web Forms support rapid application development (RAD) through the MS Visual Studio Integrated Development Environment (IDE) - no other IDE support currently available. o Java lacks similar standardized web components (e.g., based on JSP). Some proprietary components are available through Java IDEs, etc. standardized Swing (Java-based GUI) support is available in many Java IDEs and tools.
Electronic Commerce (WS-02/03) 3-
Common web servers: o Apache o Internet Information Server (IIS) o Oracle Web Server o Jigsaw (W3C reference implementation in Java) o Java Web Server (Sun product) Web Servers provide only basic functionality. Extensions relevant to ECommerce are provided as modules.
Modules (proxy, JSP / Servlet server, distributed authoring and versioning, ...) o must be purchased separately o can be integrated easily into the web server