Java Magazine, Jan/Feb 2017
ORACLE COM JAVAMAGAZINE JANUARY FEBRUARY 2017 59 cloud one at a time A Rolling Restart is slower but is a useful feature to have because it means no downtime for the application Updates Logs and Recordings If you click on the Administration section as shown on the left side of Figure 4 and Figure 5 you will find an Update tab that provides details of the Java runtime version as well as a Logs tab which holds the logs for each container There is also a Recordings tab where you can initiate recordings that can be used for Java Flight Recorder diagnostics and profiling Service Bindings If you click on the Deployments section as shown on the left side of Figure 5 you will see a Service Bindings section If you have any existing services in Oracle Java Cloud Service or Oracle Database Cloud Service you can bind your application to those services there You also have the option of specifying these bindings via a deployment json file So in a short period of time and without much efort I have a full fledged web application running in multiple identical isolated containers in the Oracle Cloud Not visible but present is a load balancer provided by Oracle Application Container Cloud Service that routes trafic to the application containers In this article we have used an existing application to try out Oracle Application Container Cloud Service However you could create a new Maven project or update an existing project to run your application using Oracle Application Container Cloud Service The key things you need to do to run your web application using Oracle Application Container Cloud Service are 1 package the dependencies 2 package the embedded server and 3 specify how to run the packaged application and the server Oracle Cloud is about multiple cloud services integrating and collaborating to deliver your solution For Oracle Application Container Cloud Service apart from the bindings with Oracle Java Cloud Service and Oracle Database Cloud Service you should also take a look at Oracle Developer Cloud Service which was discussed in the previous issue Apart from its many developer environment as a service features Oracle Developer Cloud Service can also simplify and automate building and deploying your applications to Oracle Application Container Cloud Service Conclusion Containers promise of an isolated consistent environment and resource efficiency has many developers and businesses interested Oracle Application Container Cloud Service delivers containerization in a fast easy to use and easyto manage format A free trial is available via the Oracle Application Container Cloud Service web page article Harshad Oak is a Java Champion and an Oracle Ace Director He is the founder of IndicThreads and Rightrix Solutions He is the author of Pro Jakarta Commons Apress 2004 and has written several books on Java EE Oak has spoken at conferences in many countries learn more Docker containers Oracle Developer Cloud Service In a short period of time and without much effort the web application is running in multiple identical isolated containers in the Oracle Cloud
You must have JavaScript enabled to view digital editions.