Application Servers

Tomcat and Jenkins Open Source Web Servers

Open Source Web Servers

 

According to Wikipedia  “the Apache Tomcat, often referred to as Tomcat, is an open-source web server developed by the Apache Software Foundation (ASF). Tomcat implements several Java EE specifications including Java Servlet, JavaServer Pages (JSP), Java EL, and WebSocket, and provides a “pure JavaHTTP web server environment in which Java code can run.”.

Jenkins is an open source integration tool running in a servlet container such as Apache Tomcat. It supports SCM tools including AccuRev, CVS, Subversion, Git, Mercurial, Perforce, Clearcase and RTC, and can execute Apache Ant and Apache Maven based projects as well as arbitrary shell scripts and Windows batch commands.

I found an interesting article on the TunnelX.com website that describes how to install and try these applications and I have re-published it below for your convenience.

 

Installation and Basics of Tomcat and Jenkins

Jenkins is a free and open source web application for continuous build, integration, deployment and testing over a web server. Jenkins use lots of shells command and it has a shell interface over the web. On the other hand, we have Apache Tomcat which is an open source web server and servlet container developped by the Apache Software Foundation. Apache Tomcat is an Open Source Java web driven web application server. It provides support for Java web application  such as JSP (Java Server Pages) Documents and WAR (Web Application Archive) files. It has also a self-contained HTTP server. It can also be configured by editing xml files. To run Tomcat, you will need Java. Some of the componets of Tomcat are Catalina (Sevlet container), Coyote(HTTP connector) and Jaspera(JSP engine). It is to be noted that different Tomcat Versions have different implementations.

Some of the Tomcat components

Catalina is Tomcat’s servlet container. It implements Sun Microsystems’ specifications for servlets and JavaServer pages (JSP). In tomcat Realm elements represents a database of usernames, passwords, roles assigned to those users(Similar to Unix groups). Different implementations of Realm allow Catalina to be integrated into environments where such authentication information is already been created and maintaned. That information is used to implement Container Managed Security.

Coyote is Tomcat’s HTTP connector component which supports HTTP 1.1 Protocol for the web server or application container. Coyote listens for incoming connections on a specific TCP port. Then, Coyote forwards the request to the Tomcat Engine. The Tomcat engine will then processes the request and send back a response to the requesting client. Coyote can execute JSP’s and Servlets.

Jasper is Tomcat JSP Engine. Jasper parses JSP files to compile them into Java code as servlets. The compiled Java code can be handled by Catalina. At runtime, Jasper detects changes to JSP files and recompiles them.

Apache Tomcat layers

Screenshot from 2016-06-05 13-15-05

Some concept of Jenkins CI

Jenkins is an open source tool. Its a web application and can be run using any web/application server. Before getting into details of Jenkins, its important to understand the concept of Continuous Integration, Continuous Deployment and Continuous Delivery.

Continuous Integration – Is a software development practice where members of a team integrate their work frequently, usually each person  integrates at least daily – leading to multiple integrations per day. Each integration is verified by an automated build (including test) to detect integration errors as quickly as possible. Many teams find that this approach leads to significantly reduced integration problems and allow a team to develop cohesive software more rapidly.

Continuous Deployment – The methodology of continuous putting of new features to live systems, so that can be used by other people (internal or external). Normally, this is done in an automated way, and build on the continuous integration part.

Continuous Delivery – Techniques such as automated testing, continuous integration and continuous deployment allow software to be developed to a high standard and easily packaged and deployed to test environments resulting in rapid, reliable and repeated push out enhancements and bug fixes to customers with minimal overhead.

In brief, Jenkins CI (Continuous Integration) is the leading open source continuous integration server built with Java that provides over 450 plugins to support building and testing virtually any project. Let’s now get into the installation process.

Installing Java, Tomcat and Jenkins

1.You will basically need Java Development Kit. At the time, i am writing this article jdk-8u92 is the latest one. This URL should help you to find the latest one http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Since, i am on CentOS 6 32-bit, i decided to install the RPM directly instead of compiling using this command.

wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u92-b14/jdk-8u92-linux-i586.rpm"

2.Once the download is completed, install it using the command rpm -i jdk-8u92-linux-i586.rpm You should have something similar to this

Screenshot from 2016-05-30 21-38-36

3. By now you should be able to find the version information using javav -version for the compiler or simply java -version

Screenshot from 2016-05-30 21-40-57

Screenshot from 2016-05-30 21-50-28

4. By default the binary is located at /usr/bin and java is installed in /usr/java.

Screenshot from 2016-05-30 21-47-30

5. Before installing tomcat, we will create a group called Tomcat and a specific user (Tomcat) to access a specific directory.

sudo groupadd tomcat
sudo useradd -M -s /bin/nologin -g tomcat -d /opt/tomcat tomcat

6. I created a directory at /opt/tomcat

mkdir /opt/tomcat

7. Download the tomcat tar

cd /tmp && wget http://www-us.apache.org/dist/tomcat/tomcat-9/v9.0.0.M6/bin/apache-tomcat-9.0.0.M6.tar.gz

8. Extract it to the /opt/tomcat directory.

tar xf apache-tomcat-9.0.0.M6.tar.gz -C /opt/tomcat/ --strip-components=1

9. The following files should be present in /opt/tomcat

Screenshot from 2016-05-30 22-04-52

10. Now you can easily run Tomcat in the background using the command ./bin/startup.sh&

Screenshot from 2016-05-30 22-07-31

11. A netstat -ntpl will show you Java running on port 8009 and 8080

Screenshot from 2016-05-30 22-09-25

12. A simple curl shoud give you a http 200 response

Screenshot from 2016-05-30 22-12-20

13. I am actually running Tomcat on a Virtual Box machine with IP 192.168.1.10. The Tomcat page should also appear on port 8080

Screenshot from 2016-05-30 22-11-39

14. Now that Tomcat is already running, lets deploy Jenkins on top of it. Jenkins is a ‘war’ file which you can download at the official website jenkins.io using the following command. In the webapps folder of your Tomcat, fire this command.

wget http://mirrors.jenkins-ci.org/war-stable/latest/jenkins.war

15. You can also clear or backup the webapps folder and deploy only the jenkins.war I have rename mine as ROOT.war. Then you will need to shutdown the tomcat server and start it anew. A folder called ROOT will be created where the jenkins files have been deployed.

Screenshot from 2016-06-04 15-47-02

16. On the webpage port 8080, you can now accessed the Jenkins page and start playing around with it.

Screenshot from 2016-06-04 15-49-18

This post is dedicated to the basics installation. In some next post, i will into some details of Jenkins and Java applications analysis. Have fun ????

NOTE: I have updated this article after a hot conversation with Mr. Gaurav Verma on Facebook Linux group Thanks to him that some errors were corrected such as:

  • The diagram which does not seem to be updated as there were still an outdated mechanism in my brain. It now fix my brain gap.
  • Some years back, Tomcat was used for Java resources and apache was serving only static resources which is no longer the case.
  • Another issue raised is that by default all ip addresses of the machine are binded to 0.0.0.0 [Any]. To connect on your machine localhost is not mandatory.

A Video Tutorial on Tomcat

References

Build a RESTful Web service using Jersey and Apache Tomcat

Developing Web applications with Tomcat and Eclipse

Running your IBM i web solution on ASF Tomcat

 

 

Be the first to comment - What do you think?
Posted by Mario1 - 08/06/2016 at 9:54 am

Categories: Application Servers, Linux Sofware   Tags: ,

Rest Based Web Services

Rest Web Services

There are many articles on Web Services and the architectures used to support them such as SOAP. RPC, Corba.

One architectire that is fully based on the HTTP protocol and that is somewhat simpler than those  mentioned before is REST and you can read below an interesting introduction by hat I have recently read,

Learn REST: A Tutorial

What is REST?

REST stands for Representational State Transfer. (It is sometimes spelled “ReST”.) It relies on a stateless, client-server, cacheable communications protocol — and in virtually all cases, the HTTP protocol is used.

REST is an architecture style for designing networked applications. The idea is that, rather than using complex mechanisms such as CORBA, RPC or SOAP to connect between machines, simple HTTP is used to make calls between machines.

  • In many ways, the World Wide Web itself, based on HTTP, can be viewed as a REST-based architecture.

RESTful applications use HTTP requests to post data (create and/or update), read data (e.g., make queries), and delete data. Thus, REST uses HTTP for all four CRUD (Create/Read/Update/Delete) operations.

REST is a lightweight alternative to mechanisms like RPC (Remote Procedure Calls) and Web Services (SOAP, WSDL, et al.). Later, we will see how much more simple REST is.

  • Despite being simple, REST is fully-featured; there’s basically nothing you can do in Web Services that can’t be done with a RESTful architecture.

REST is not a “standard”. There will never be a W3C recommendataion for REST, for example. And while there are REST programming frameworks, working with REST is so simple that you can often “roll your own” with standard library features in languages like Perl, Java, or C#.

 

References

RESTful Web services: The basics

Building a REST service with integrated web services server for IBM i: Part 1

Building a REST service with integrated web services server for IBM i: Part 2

 

Be the first to comment - What do you think?
Posted by Mario1 - 13/02/2015 at 1:44 pm

Categories: Application Servers   Tags:

How to Learn PHP

Learn PHP

Php programming

Php programming (Photo credit: Wikipedia)

PHP is a popular scripting language that can be embedded into HTML and used to develop web applications.

Currently PHP and Java are probably the most on demand computer languages. Generally PHP is the preferred choice if one wants to work on the web whereas Java is preferred for desktop applications, enterprise applications and mobile apps.

I made some investigations on good options about how to learn PHP and you will find below some results of my investigations.

 

Learn PHP with PHP Online Tutorials

 

I found some good online tutorials such as the following:

 

Learn PHP on Good PHP Books

 

There are many good books on PHP and you will find below an initial choice from Amazon UK:

 

 

PHP Magazines

Another way to learn PHP or improve your PHP expertise is to read some magazine dedicated to PHP such as the following:

 

 

Open Source ERP Systems written in PHP

Enhanced by Zemanta

Be the first to comment - What do you think?
Posted by Mario1 - 26/05/2013 at 4:02 pm

Categories: Application Servers, AS/400 Software, Computer Books, Computer Hardware, Computer Languages, Computer Software, Database, Ebooks, ERP, ERP applications, IDE, Information Technology, Linux Sofware, Operating Systems, PHP, Programming, Training, Uncategorized, Utilities, websites   Tags:

Nearly 75% Of All Smartphones Sold In Q1 Were Android

Android Smartphones

I noticed an interesting article on TechCrunch about Android Smartphones and I have re-published it below for your convenience.

Nearly 75% Of All Smartphones Sold In Q1 Were Android, With Samsung At 30%; Mobile Sales Overall Nearly Flat: Gartner

Ingrid Lunden

samsung_logo_crown-300x268

Gartner has just released its Q1 figures for mobile handset sales, and the key takeaway is that Android continues to steal the show, led by handset maker Samsung. Google’s mobile platform now accounts for nearly 75% of all handset sales, a jump of almost 20 percentage points on a year ago, and equating to 156 million devices sold in the three-month period. Smartphones sales grew by 63 million units to 210 million for the quarter, making up nearly half of all mobile phone sales overall, at 425 million. With the number of mobile handset sales up by a mere 0.7% on a year ago, it’s clear that higher-end devices are very the much growth engine for the mobile industry at the moment.

Here’s a breakdown of some of the more interesting figures from Gartner.

Although Samsung does not release exact sales figures for its devices, Gartner estimates that the Korean giant is the biggest of them all: it accounted for almost 31% of all smartphones sold in the period, with Apple in number-two with 18%. It’s quite a change from last year, when the two were nearly level, with just 5 percentage points separating them. The widening gap, and Samsung’s growth, will continue into the quarter ahead, it seems, led by the popularity of the company’s newest flagship model.

“We expect the new Galaxy S4 to be very popular despite being more of an evolution than a truly revolutionary device compared to the S3,” writes Anshul Gupta, principal research analyst at Gartner.

On the other hand, the fact remains that at least some appear to still be holding out for the next iPhone rather than going for the iPhone 5; and Apple meanwhile is still holding back from releasing new, low-cost models that might help it along more in emerging markets and compete more comprehensively against the huge range of Android devices out there.

The gap between the two biggest brands and number three continues to be a big one, with Samsung very much taking the lead here. “There are two clear leaders in the OS market and Android’s dominance in the OS market is unshakable,” Anshul writes.

Together, Apple and Samsung accounted for 49 million handset sales. This is down by 1.1 million from a year ago, and as the smartphone market continues to grow, the players who are vying to be the next big challengers continues to churn. LG swapped places with Huawei, and is currently at number-three at 4.8 million units (with a strong showing from some of its newer 4G handsets and its lower-cost smartphone range). Huawei’s 4.4 million, however, shows that it continues to press ahead, as does fellow Chinese handset maker ZTE, which rounds out the top-five:

gartner smartphone vendors q1 2013

Samsung, unsurprisingly, is also leading in the overall mobile category, which also counts sales of lower-end feature phones. Its share there is now 23.6%, topping 100 million units.

Just as Samsung is widening the gap against Apple in smartphones, it’s doing the same with Nokia in the overall rankings. The Finnish giant is still number-two but with a 14.8% share, a drop of 5 percentage points on last year.

mobile phones overall gartner q1 2013

Looking at mobile platform prominence in smartphones, Android’s current 74.4% market share is nothing short of astounding in terms of its increase, particularly considering that at this point there is no sign of it slowing down.

Gartner’s numbers, it should be noted, are some 10% higher than those from Kantar Worldpanel Comtech that were released at the end of April: a sign of the margin of error between different analysts’ estimates resulting from different counting methods. Here are yet more numbers from IDC, which claims that smartphones outshipped feature phones, and Canalys, which was also more bullish than Gartner on smartphone numbers at a 300 million estimate.

Back to Gartner: the 156 million units sold in the quarter is actually almost double what was sold in the same period a year ago. Android is without a doubt riding the very crest of the smartphone wave: Gartner points out that smartphones accounted for 49.3% of sales of mobile phones worldwide, up from 34.8% in Q1 of 2012, and 44% in the fourth quarter of 2012.

Apple continues to grow but at a slower pace, managing to increase its share by a “mere” 5 million. BlackBerry (still called RIM by Gartner: hello rebranding!) continues to drop, indicating that at least so far, its big BB10 attack has yet to bear significant fruit. Microsoft is showing a respectable doubling of growth to nearly 6 million units, but that is pretty tiny when you look back to Android and its 156 million. It shows that a significant amount of work remains to be done by Microsoft and partners like Nokia if it expects to get anywhere within spitting distance of Android, or even Apple.

Still, the cautionary tale of Symbian remains a sign of how fast a handset maker can fall from grace. It’s now at 0.3 percent of sales now that Nokia has discontinued its production of the once market-leading devices — although its share was falling fast even before that.

gartner q1 2013 smarthones

Gartner points out that Asia is currently the market driver for mobile phone sales worldwide, accounting for more than half of all sales, with China remaining the biggest single market.

“More than 226 million mobile phones were sold to end users in Asia/Pacific in the first quarter of 2013, which helped the region increase its share of global mobile phones to 53.1 per cent year-on-year,” writes Anshul Gupta, principal research analyst at Gartner. “In addition, China saw its mobile phone sales increase 7.5% in the first quarter of 2013, and its sales represented 25.7 per cent of global mobile phone sales, up nearly 2 percentage points year-on-year.”

Be the first to comment - What do you think?
Posted by Mario1 - 14/05/2013 at 5:00 pm

Categories: Application Servers, AS/400 Software, Computer Books, Computer Hardware, Computer Languages, Computer Software, Database, Ebooks, ERP, ERP applications, IDE, Information Technology, Linux Sofware, Operating Systems, PHP, Programming, Training, Uncategorized, Utilities, websites   Tags:

New CrunchU Computer Courses

CrunchU  Computer Courses

CrunchU is the result of a partnership between TechCrunch and Udemy which initially offer 30 computer courses including some courses from DeitelBuzz ! You can view the full list of courses at:

==> http://techcrunch.com/crunchu/

I have re-published it below the official TechCrunch CrunchU announcement.

  • Main Event Page

Crunch, Crunch, CrunchU: Course Registration Is Now Open

Print

That crunching sound you hear is software eating the world, and TechCrunch is always looking for ways to pull a chair up to the feast. For example, we have CrunchBase for startup data and CrunchBoard for jobs, and once upon a time there was  CrunchPad, too. Not everything works out, but today with high hopes we are launching CrunchU, which is a collection of 30 online courses that we are offering to TechCrunch readers in partnership with Udemy, a San Francisco-based startup dedicated to “democratizing education by making top quality content from the world’s experts dramatically more affordable for anyone, anywhere.”

We like the sound of that, because we all have a lot more to learn, and keeping it real and affordable is what education should be all about. Our initial course line-up includes offerings from TechCrunch friends, like 500 Startups’ Dave McClure on “Raising Money for Startups” and Eric Ries on “The Lean Startup,” as well as experts Gagan Biyani on “Introduction to Growth Hacking” and Russ Fradin on “Startup Hiring.”

We have a certain bias for startups, no surprise, but there is lots of other brain candy in the course mix too, like starter courses on Android and iOS, Ruby and jQuery, as well as gamification, programming for non-programmers, SEO, and in case you just want to have fun, digital photography.

Our  plan is to introduce new courses each quarter, based on what we learn about TechCrunch readers’ likes and dislikes. We also have the option of creating courses on our own, with the help of Udemy’s awesome course-creation tools. If you have an idea for a course, or want to teach one yourself, learn more here.

So if you have a minute, check out the CrunchU course catalogue and find some educational itch you want to scratch. The tuition sting is teeny, but it will be automatically discounted 50% off from today until May 18.

 

Note:

For a limited time, DeitelBuzz offer big discounts on many of their LiveLessons computer courses. These discounts are for only the first 100 sold of each course. If you click the link and it’s not discounted, the discounts are gone for that course! For links, please visit:

==> Deitel LiveLessons Discounts

Be the first to comment - What do you think?
Posted by Mario1 - 09/05/2013 at 5:12 pm

Categories: Application Servers, AS/400 Software, Computer Books, Computer Hardware, Computer Languages, Computer Software, Database, Ebooks, ERP, ERP applications, IDE, Information Technology, Linux Sofware, Operating Systems, PHP, Programming, Training, Uncategorized, Utilities, websites   Tags:

The Desktop Linux – Is it Winning?

The Desktop Linux

Gnome 3 Snapshot

Gnome 3 Snapshot (Photo credit: Wikipedia)

Linux has always been strong about choice and offers a great variety of Linux desktops such as Gnome, KDE, Ubuntu Unity and many more.

There have been many discussions about replacing Windows with Linux and about toppling  Microsoft’s desktop monopoly, but Desktop Linux has never reached a widespread user base.

However I recently read an interesting article on the Infoworld.com website about how a desktop revolution has already begun with mobile devices and applications. I have republished the article below for your convenience.

The Linux desktop is already the new normal

We’re so busy seeking release from Windows that we overlooked all the ways Linux had already freed us

By | InfoWorld

Follow @webmink

A debate is smoldering yet again in the Linux community as prominent figures debate whether it’s time to give up hope on the “year of the Linux desktop” ever coming or whether the advent of Android is actually its fulfillment. Problem is, it came and it’s been here a while, but we haven’t even noticed. We just didn’t know what it would look like.

I realize that statement flies in the face of conventional wisdom. Last year, Miguel de Icaza’s controversial post “What killed the Linux desktop” famously claimed that the opportunity for a Linux-based desktop to dominate the market has passed and is now an unachievable dream. He pointed to what he sees as a series of problems within the culture of Linux development.

At the heart of his argument is the idea that overly frequent updates led to a lack of compatibility, which in turn put off third-party developers. This is not to say he’s surrendered to Windows; he recently explained why he uses a Mac. Now that the world has seen the example of the Apple OS X App Store, products that struggle with compatibility issues feel like a big step backward, regardless of any great features.

Chromebook to the rescue
Meanwhile, Linus Torvalds has a different avenue for hope: Google’s Chromebook. This actually is a Linux desktop computer with only one application, the Chrome browser. The hardware itself is perfectly capable of running other Linux distributions — which is what Torvalds does — but out of the box, it’s running a stripped-down, single-function Linux system that’s easily maintained and secured centrally.

I’ve been using Chromebooks personally and for my business for the last six months, and I can state firmly it’s the Linux desktop I’ve been waiting for. I tried many other approaches, but found every other Linux desktop solution required too much effort to maintain. The Chromebooks (and one Chromebox) we have in the office deliver all the functions we need, without becoming the security nightmare you expect of Windows — and without the constant patronizing lock-in that’s manifesting itself on the Mac these days and without becoming the new hobby we’d expect from a raw Linux distro.

The reason it’s worked so well may surprise you. It works for me and my business because — wait for it — Linux has already won on the desktop.

The Linux desktop is called “the browser”

While we were all waiting for the open source community to topple Microsoft’s desktop monopoly by replacing the operating system, we missed the real revolution. There’s still plenty of money in both operating systems and in desktop apps, and Microsoft will be milking that legacy monopoly for a good while. It’s certainly been the target of competitive attention from open source software; indeed, the productivity suite now epitomized by LibreOffice has over its long history done an effective job in opening up that part of Microsoft’s monopoly.

But most enterprise expenditure doesn’t happen on the desktop. Maybe it’s software Stockholm Syndrome making us all love our captor, but the focus on desktop applications, coupled with the idealistic expectation that Windows will be displaced, has led many to overlook or even dismiss the category where Linux actually has taken over the desktop.

That’s in the browser. Think about it: When did a new process or service you wanted to use last come as a Windows application download? When it did, what actually was that application? An increasing number of desktop applications are just containers for HTML5 Web apps. The real powerhouse behind those apps is usually Linux, accessed over the Internet, along with other elements of the modern LAMP stack. In a very real sense, the applications many use daily for email, documents, presentations, and more are Linux desktop applications. A fanatical obsession with replacing Windows made for interesting discussion, but while that debate was happening, all the work on the desktop moved inside the browser window.

In turn, that desktop revolution has fueled — and been fueled by — Linux in portable devices. In that space, Linux is definitely winning globally, both by powering multiple device platforms such as Android and Kindle and by powering many of the applications found on those devices. Tools like PhoneGap allow the developer to take the same Linux-powered back end and use it for both desktop/browser apps and for device-specific apps. The result? Linux is everywhere, even on iOS.

It was natural to assume the wedge to displace Microsoft’s desktop monopoly would be something that did the same thing. Futurists have long made their predictions by describing the present wearing Spandex. When it comes along, the new reality often looks different from the future we expected. So we still have no flying cars, food still doesn’t come in pill form — and the Linux desktop is actually running in your browser.

The year of the Linux desktop came long ago and we missed it. We were expecting it to displace Windows; instead, it has displaced the Windows desktop application, powered the reinvention of the mobile market, and in the process done more for us all than the revolution we expected could ever have delivered.

This article, “The Linux desktop is already the new normal,” was originally published at InfoWorld.com. Read more of the Open Sources blog and follow the latest developments in open source at InfoWorld.com. For the latest business technology news, follow InfoWorld.com on

 

 

 

Enhanced by Zemanta

Be the first to comment - What do you think?
Posted by Mario1 - 07/05/2013 at 1:51 pm

Categories: Application Servers, AS/400 Software, Computer Books, Computer Hardware, Computer Languages, Computer Software, Database, Ebooks, ERP, ERP applications, IDE, Information Technology, Linux Sofware, Operating Systems, PHP, Programming, Training, Uncategorized, Utilities, websites   Tags:

IBM WebSphere Application Server vs Oracle WebLogic

IBM WebSphere Application Server vs Oracle WebLogic

I noticed an interesting article on the IBM Impact Blog about the IBM WebSphere Application Server vs Oracle WebLogic and I have re-published it below for your convenience.

IBM WebSphere Application Server vs Oracle WebLogic—Why pay more and get less? Catch the interview with Roman Kharkovski

Shaku Selvakumar |  Oct 1 2010
IBM WebSphere Application Server vs Oracle WebLogic Posted by Kathleen Holm  (@Kmholm)

With Oracle OpenWorld 2010 taking place this week in San Francisco, I’ve been thinking more about the differences between IBM WebSphere Application Server and Oracle WebLogic Server. I reached out to one of my colleagues, Roman Kharkovski, Executive IT Specialist, Worldwide WebSphere Technical Sales, for answers to a few of my questions.

Roman, both IBM WebSphere Application Server and Oracle WebLogic Server are high quality products that perform well in demanding environments. Can you explain some of the differences between the two products?

I agree that both WebSphere and WebLogic are high quality products and will do the most demanding job, however the cost is definitely a key differentiator. In fact, a recent pricing comparison revealed that Oracle WebLogic charges 70% more for first year license and support and 53% more to renew support beyond the first year. Part of it is due to the fact that IBM provides the first year of support for free while Oracle charges 22%, IBM recognizes VMware partitioning and only charges for the cores being used to run the workload, while Oracle charges for all cores on the box. There are also significant advantages in IBM licensing for backup servers, disaster recovery, LDAP, HTTP servers, caching, etc. In most cases Oracle charges for those things where IBM does not. In addition, there are a certain differences in performance, administration and management that result in a higher total cost of ownership for WebLogic.

Can you give me a few examples of the differences in performance between the two products?

Sure, in January of this year, IBM was the first vendor to publish the SPECjEnterprise2010 benchmark with the latest result of 15,829.86 EjOPS (Enterprise jAppServer Operations Per Second). Nine months later Oracle finally published their first result and it is not only lower in terms of total EjOPS, but also about 40% less efficient than IBM’s result per processor core.

In addition, the new JPA enhancements in the WebSphere Feature Pack for Java Persistence API 2.0 have helped IBM increase its SPECjEnterprise2010 benchmark by 73% on a single server node.

Another key difference is the WAS Dynacache capability that makes flexible HTML, Servlet, JSP and SOAP/HTTP caching possible without modifications to the source application. Included with WebSphere Application Server (WAS) Network Deployment is the capability to dynamically replicate this cache to the edge of the network using WebSphere Edge Components. All of this is included free of charge with the WebSphere license and can be installed on a distributed configuration without additional cost. In comparison, WebLogic Server has limited caching available and requires manual editing of the source code to put in the JSP tags. This editing means application designers have to be overtly aware of the cache, while in WAS, developers do not have to do anything special to enable caching—it’s purely administrative. Oracle also charges for those components known as “Oracle Web Tier”.

You mentioned there were also some administrative and management differences. Can you describe a few?

One difference is that WAS Network Deployment allows management of a mixed version environment—WAS v5, v6 and v7, for example–from a single administrative console. WebLogic does not.

Another difference is that WAS provides an “Installation Factory” and “Central Installation Manager” (CIM) to speed up installation and update of multiple servers with similar configurations. WebLogic Server does not offer these capabilities.

WAS also has a capability called “Flexible Management” that makes it possible to submit administrative jobs asynchronously for application servers registered as administrative agents of the deployment manager. Jobs can be submitted to one or more servers and these servers do not have to belong to the same administrative domain. The job manager can asynchronously administer job submissions and complete tasks, even over slow or unreliable networks. This is designed to manage very large branch type deployments, such as retail stores and alike. Oracle WebLogic Server does not offer this capability.

What about cloud and virtualization? Do both products provide similar levels of support?

No. For example, IBM offers application infrastructure virtualization that complements server, storage and network virtualization and enables organizations to push the boundaries of its IT infrastructure for greater operational efficiency and manageability. Oracle does not offer comparable functions for supporting very large environments. Let me explain.

WebSphere Virtual Enterprise(WVE) provides virtualization at the application level. It can be combined with server virtualization like VMware and PowerVM so customers can take advantage of both approaches to lower operational and energy costs and better manage enterprise applications and service-oriented architecture environments. Cluster size in the WebSphere Virtual Enterprise is not static as it is in WebLogic, but dynamic – it can be expanded or shrunk down to one or zero JVM instances if there are not requests that come into the application. There are many “autonomic” things that are done in “autopilot” mode by WVE that greatly simplify administration and improve qualities of services. WVE is a truly innovative product and to date, Oracle has not delivered a product with comparable capabilities to market.

Another example – Oracle lacks support for robust application edition management. WebLogic allows only two versions of the same application to co-exist for a short time of transition, while WebSphere Virtual Enterprise makes it possible for a virtually unlimited number of application editions to co-exist indefinitely with the ability to revert back or forward to a certain version at any time or isolate a certain version of the application for testing purposes.

In addition, unlike Oracle, WebSphere Virtual Enterprise has the ability to prioritize requests based on administrator-defined rules to adjust to server response times according to Service Level Agreements and application priority. Request prioritization and routing are not provided by Oracle WebLogic Server.

In reference to cloud support, WebSphere CloudBurst Appliance was recently found to reduce software labor hours by up to 80% compared to manual deployment. Oracle has a new, less mature offering, Oracle Virtual Assembly Builder that is labor-intensive to install, configure and is not as secure. While the WebSphere CloudBurst Appliance supports major virtualization platforms, including VMware, PowerVM and z/VM, Oracle Virtual Assembly Builder only supports Oracle VM. There are many other differences, including the cost—the WebSphere CloudBurst Applicance is one-third the cost of the Oracle Virtual Assembly Builder for a medium-sized deployment and is much easier to use.

These are just a few of the differences to consider when comparing WAS to WebLogic. For more in-depth information, click here: Why pay more and get less? Or register for the Webcast: 3 smart ways Oracle customers can save.

You may also want to check out Elizabeth Stahl’s recent blogs, On Cisco’s SPECjAppServer2004 and Oracle’s NoLogic

Want to learn more?

 

Visit the Business Agility Launch Page #bizagility

 

 

Be the first to comment - What do you think?
Posted by Mario1 - 09/10/2012 at 1:46 pm

Categories: Application Servers   Tags: ,