Welcome!

Recurring Revenue Authors: Liz McMillan, Pat Romanski, Elizabeth White, Yeshim Deniz, Carmen Gonzalez

Related Topics: @CloudExpo, Java IoT, Recurring Revenue

@CloudExpo: Blog Post

Case Study: From On-Premise to Cloud By @Oracle | @CloudExpo [#Cloud]

There are many technical considerations when moving applications from on premise to cloud

Case Study: Moving from On-Premise to Cloud

In this article, we take web applications developed for on-premise and move to the cloud. We first prepare the applications, then we prepare the cloud and finally we deploy our apps to the cloud.

Preparing the Apps
For this exercise, we will be using two applications:

  1. A sample application (sample.war) from Tomcat (available here)
  2. A sample application (examplesWebApp.war) from WebLogic (available as part of the WLS 10.3.6 install)

You can try deploying these apps to tomcat and WebLogic respectively, using a local installation (ie, on premise).

Of course, you can also develop your own servlets or J2EE applications using your favorite application server and J2EE development environment. As we'll see later, the applications for the most part are portable to different app servers and to the cloud; however, for any vendor specific extensions, there may be some customization required for cloud enablement.

Preparing the cloud
There are a number of cloud solutions that can be employed:

  • IaaS - Infrastructure as a service
  • PaaS - Platform as a service
  • Saas - Software as a service

We will look at the first two.

In IaaS, we leverage the cloud for hardware and OS. One such offering is Amazon Elastic Compute Cloud (EC2). A free trial is available, which gives you a linux compute node (1GB RAM). More expandable options are available at a cost. Once you obtain access to your hardware and OS on EC2, you can log into the machine and use it like any other linux machine.  Thus you can install and configure an appserver such as tomcat, and then deploy your apps and voila! You now have moved your application to the cloud!

In PaaS, we leverage the cloud for hardware, OS and also the application server itself which are all managed by the cloud vendor. One such offering is Oracle's Java Cloud Service (JCS) - SaaS Extension. It is Java a platform specially built to deploy extension for Oracle Software as a Service offering .  A free trial is available and this paper uses the free trial. We will use our two applications to represent our SaaS extensions.  A console (based on Oracle's Enterprise Manager) gives you the ability to deploy applications into the cloud.

Deploy Apps to the cloud
To deploy our Tomcat sample to  JCS, we use the Java Console screen (see below). Select ‘deploy new' and then select the war file from your local files. Once the sample is available, you will see the tomcat sample listed as running.

Click on ‘test application' on that row, and it will bring up a window with a URL. Click on the URL and you will bring up the sample tomcat application, running on Oracle cloud!

Now we will attempt to deploy the WebLogic sample. Again, we select ‘deploy new' and point to the examplesWebApp.war. This time, however, we get 2 errors. Looking at the log, they are both in the weblogic extension file, weblogic.xml.

The first error is that <page-check-seconds> is set to 1. pageCheckSeconds specifies the interval in seconds between stale checks for an individual JSP. In development mode, the default is 1 (second). In production, the value should be set to -1 (do not check). Modify this value to -1 and the error disappears.

The second error is that <virtual-directory-mapping> is not allowed. With the JCS SaaS extension offering, you don't have full control over the environment (Oracle has another cloud offering which gives full control) and therefore there is no virtual mapping allowed. In this case, the virtual mapping is pointing to a central location for images. Remove the virtual mapping section. Then copy the images directory to your webapp directory and this will resolve your error.

Note that after making these changes, you will need to repackage the war (using ‘jar cf'). Now deploy using the console and you have your second application running in the cloud.

Conclusion
There are many technical considerations when moving applications from on premise to cloud. This article offers a framework for such considerations. We discussed moving to Infrastructure as a Service (IaaS) and Platform as a Service (PaaS). Then we took applications from Tomcat and WebLogic, and deployed to a Platform as a Service. We noted that application server-specific extensions sometimes need to be adjusted in order to deploy to the cloud.

More Stories By Michael Meiner

Michael Meiner is an Engineering Director at Oracle Corporation. His organization is responsible for lifecycle Quality Assurance of the Fusion Middleware Suite of products, including: installation, configuration, upgrade, test-to-production and interoperability on a range of computing platforms and Operating Systems. The Fusion Middleware product suite supports both On-Premise as well as Cloud offerings.

@ThingsExpo Stories
Elon Musk is among the notable industry figures who worries about the power of AI to destroy rather than help society. Mark Zuckerberg, on the other hand, embraces all that is going on. AI is most powerful when deployed across the vast networks being built for Internets of Things in the manufacturing, transportation and logistics, retail, healthcare, government and other sectors. Is AI transforming IoT for the good or the bad? Do we need to worry about its potential destructive power? Or will we...
SYS-CON Events announced today that SIGMA Corporation will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. uLaser flow inspection device from the Japanese top share to Global Standard! Then, make the best use of data to flip to next page. For more information, visit http://www.sigma-k.co.jp/en/.
Agile has finally jumped the technology shark, expanding outside the software world. Enterprises are now increasingly adopting Agile practices across their organizations in order to successfully navigate the disruptive waters that threaten to drown them. In our quest for establishing change as a core competency in our organizations, this business-centric notion of Agile is an essential component of Agile Digital Transformation. In the years since the publication of the Agile Manifesto, the conn...
SYS-CON Events announced today that Nihon Micron will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Nihon Micron Co., Ltd. strives for technological innovation to establish high-density, high-precision processing technology for providing printed circuit board and metal mount RFID tags used for communication devices. For more inf...
SYS-CON Events announced today that Suzuki Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Suzuki Inc. is a semiconductor-related business, including sales of consuming parts, parts repair, and maintenance for semiconductor manufacturing machines, etc. It is also a health care business providing experimental research for...
SYS-CON Events announced today that Daiya Industry will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Daiya Industry specializes in orthotic support systems and assistive devices with pneumatic artificial muscles in order to contribute to an extended healthy life expectancy. For more information, please visit https://www.daiyak...
The Internet giants are fully embracing AI. All the services they offer to their customers are aimed at drawing a map of the world with the data they get. The AIs from these companies are used to build disruptive approaches that cannot be used by established enterprises, which are threatened by these disruptions. However, most leaders underestimate the effect this will have on their businesses. In his session at 21st Cloud Expo, Rene Buest, Director Market Research & Technology Evangelism at Ara...
SYS-CON Events announced today that N3N will exhibit at SYS-CON's @ThingsExpo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. N3N’s solutions increase the effectiveness of operations and control centers, increase the value of IoT investments, and facilitate real-time operational decision making. N3N enables operations teams with a four dimensional digital “big board” that consolidates real-time live video feeds alongside IoT sensor data a...
Internet of @ThingsExpo, taking place October 31 - November 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 21st Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devic...
Mobile device usage has increased exponentially during the past several years, as consumers rely on handhelds for everything from news and weather to banking and purchases. What can we expect in the next few years? The way in which we interact with our devices will fundamentally change, as businesses leverage Artificial Intelligence. We already see this taking shape as businesses leverage AI for cost savings and customer responsiveness. This trend will continue, as AI is used for more sophistica...
SYS-CON Events announced today that SourceForge has been named “Media Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. SourceForge is the largest, most trusted destination for Open Source Software development, collaboration, discovery and download on the web serving over 32 million viewers, 150 million downloads and over 460,000 active development projects each and every month.
SYS-CON Events announced today that DXWorldExpo has been named “Global Sponsor” of SYS-CON's 21st International Cloud Expo, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Digital Transformation is the key issue driving the global enterprise IT business. Digital Transformation is most prominent among Global 2000 enterprises and government institutions.
SYS-CON Events announced today that B2Cloud will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. B2Cloud specializes in IoT devices for preventive and predictive maintenance in any kind of equipment retrieving data like Energy consumption, working time, temperature, humidity, pressure, etc.
SYS-CON Events announced today that NetApp has been named “Bronze Sponsor” of SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. NetApp is the data authority for hybrid cloud. NetApp provides a full range of hybrid cloud data services that simplify management of applications and data across cloud and on-premises environments to accelerate digital transformation. Together with their partners, NetApp em...
SYS-CON Events announced today that Interface Corporation will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Interface Corporation is a company developing, manufacturing and marketing high quality and wide variety of industrial computers and interface modules such as PCIs and PCI express. For more information, visit http://www.i...
SYS-CON Events announced today that Massive Networks, that helps your business operate seamlessly with fast, reliable, and secure internet and network solutions, has been named "Exhibitor" of SYS-CON's 21st International Cloud Expo ®, which will take place on Oct 31 - Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. As a premier telecommunications provider, Massive Networks is headquartered out of Louisville, Colorado. With years of experience under their belt, their team of...
SYS-CON Events announced today that Mobile Create USA will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Mobile Create USA Inc. is an MVNO-based business model that uses portable communication devices and cellular-based infrastructure in the development, sales, operation and mobile communications systems incorporating GPS capabi...
While some developers care passionately about how data centers and clouds are architected, for most, it is only the end result that matters. To the majority of companies, technology exists to solve a business problem, and only delivers value when it is solving that problem. 2017 brings the mainstream adoption of containers for production workloads. In his session at 21st Cloud Expo, Ben McCormack, VP of Operations at Evernote, will discuss how data centers of the future will be managed, how th...
SYS-CON Events announced today that Ryobi Systems will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Ryobi Systems Co., Ltd., as an information service company, specialized in business support for local governments and medical industry. We are challenging to achive the precision farming with AI. For more information, visit http:...
SYS-CON Events announced today that MIRAI Inc. will exhibit at the Japan External Trade Organization (JETRO) Pavilion at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. MIRAI Inc. are IT consultants from the public sector whose mission is to solve social issues by technology and innovation and to create a meaningful future for people.