Oracle Code Day Hands On Labs HOL

Size: px
Start display at page:

Download "Oracle Code Day Hands On Labs HOL"

Transcription

1 Oracle Code Day Hands On Labs HOL Overview This lab guides you through deploying and running the BlackJack application "locally" via a Tomcat server that is spawned by NetBeans. After successfully running the BlackJack application locally on your VM, you will then place your application code on the Oracle Developer Cloud service by cloning your local Git repository to the cloud, where you then build, deploy, and run the application. You also learn how to create an application archive of the BlackJack application that can be used to deploy your application on the cloud. Learning Objectives In this Hands-On Lab session, you will learn how to: Configure, build, deploy, and run the BlackJack application locally Generate deployable archive files of the BlackJack application for deployment on the cloud Create a new project in the Developer Cloud Service Create and clone a Git repository in the Developer Cloud Service Build the BlackJack application in the Developer Cloud Service Deploy the BlackJack application from the Developer Cloud Service onto the Application Container Service Test the deployed BlackJack application that is running on the Application Container Service Prerequisites Ensure that you have a working Oracle Cloud account that you can access Successfully establish a VNC connection to a VM environment that has been supplied for you

2 Lab Environment You will do the labs on a VM that has been provided to you. Note: All necessary installations and configurations of software have been done in the VM. If wish to do the practices on your laptop, you will need to do the installs and configurations of the software. The following software has been installed software on the VM: JDK - Java Development Kit (JDK) is a software development environment used for developing Java applications and applets. o It includes the Java Runtime Environment (JRE), an interpreter/loader (java), a compiler (javac), an archiver (jar), a documentation generator (javadoc) and other tools needed in Java development. Netbeans - A software development platform written in Java. o Applications are developed from a set of modular software components called modules. Used for development in Java, PHP, C/C++, and HTML5 GIT - Open source version control system (VCS) for tracking changes in computer files Maven - Apache Maven is a software project management tool. o Describes how software was built, and it describes its dependencies Notepadd++ - A text editor and source code editor. It supports tabbed editing, which allows working with multiple open files in a single window. Lab Files On the Desktop of the VM is the HOL lab files directory. It contains files you will use in the labs. BlackJack.zip Helloworld-Example.zip Pom.xml

3 The Cloud Services use in HOL session Before you get started, take a few moments to familiarize yourself with the Oracle Developer Cloud Service and Oracle Application Container Service, which you will use in the HOL lab. Oracle Developer Cloud Service (ODCS) Oracle Developer Cloud Service is a software development Platform as a Service (PaaS). As part of Oracle Cloud, Oracle Developer Cloud Service simplifies development with an automatically provisioned, scalable development platform supporting the complete development lifecycle. Within minutes, you and your team have immediate access to source repositories, issue tracking, builds, and more. Oracle Developer Cloud Service has these key features: Project configuration and user management Source control repositories through Git and Maven A defect tracking system to track tasks, bugs, and enhancements Continuous build integration through Hudson Document collaboration through wiki The web interface provides project creation and management, a dashboard to display the latest activity and build status, an issue tracking interface to edit and query defects and tasks, a wiki interface to write project documentation, a Hudson view to manage builds, and a Team view to configure teams and define roles. Oracle Developer Cloud Service also integrates into popular IDEs, including Eclipse, JDeveloper, and Netbeans. IDE users can develop and commit code through Git integration tools, work with Tasks and Defects through Mylyn integration, monitor builds, and more. Oracle Developer Cloud Service also provides an SSH access to interact with the hosted Git repositories. Oracle Developer Cloud Service provides tight integration with Java Cloud Service. You can manually deploy application build results from Hudson to your Java Service instance, or you can configure continuous deployment. In addition, you can deploy build results to your on premise production environment.

4 Oracle Application Container Cloud Service (OACCS) OACCS includes Oracle Java SE Cloud Service, which lets you deploy Java applications to the Oracle Cloud, and Oracle Node Cloud Service, which lets you deploy Node.js applications to the Oracle Cloud. You can also deploy PHP applications. When you deploy your application, you specify whether it s a Node.js, Java, or PHP application. Subscribing to Oracle Application Container Cloud Service makes all types available when you deploy. Your application runs in " target="_blank">docker container. Oracle Application Container Cloud Service has these key features: A pre-configured environment for Java, Node.js, and PHP applications. Java SE advanced features such as Java Flight Recorder, Java Mission Control, advanced memory management, and ongoing and timely security updates. Open platform that supports all Java frameworks and containers such as Spring, Play, Tomcat, and Jersey. Support for Java Virtual Machine (JVM) based languages such as JRuby. You can run any language that uses the Java Virtual Machine on this service. Enterprise-grade support from Oracle. Web-based user interface and REST API. In addition, you can choose to integrate with other Oracle Cloud services. You can develop your application on your local system, or you can use Oracle Developer Cloud Service.

5 Preparing the environment for Building and Deploying Applications To provide you the time you will need to build and deploy application with Oracle Cloud Services during in the HOL session, the following installation and configuration steps has been completed for you. Please review the following to understand what you will need to do to set up your environment for building and deploying applications in the Oracle Cloud 1) Install and configure JDK, Netbeans, Git and Maven 2) Setting Proxy for Maven Apache Maven is a software project management tool. When you use Maven, it will go the Maven site to download the modules you will use. If you are connected to a network, like on your company s network, and a HTTP proxy server is set up to prevent connection to the internet directly, then you must set up proxy for Maven or Maven will fail to download any dependencies As you are connected to an Oracle University environment to do your practices, you are connected to a network with a HTTP proxy server. You will need to set proxy for Maven. For the HOL session, proxy has been set with the proxy address of the environment you are using for Maven. Review the settings.xml file in the following two locations to see how to set proxy with the proxy address of the environment you are using for Maven. Look under the <proxies> tag. WINNT(D:)>Program Files>NetBeans8.2>java>maven>conf WINNT(D:)>Maven>apache-maven-3.3.9>conf 3) Creating and Configure a Git Repository Git is a tool you use to manage a project, or a set of files, as they change over time. Git stores information in a data structure called a repository. A Git repository contains, among other things: sets of commit objects, and references to commit objects The following commands were executed in Git Bash to create, and initialize a local GIT repository under the home directory of the VM a) Create a Git Repository i) Click on the Git Bash on the Desktop to launch Git Bash ii) iii) iv) Create a cloud directory - mkdir cloud Change the directory to cloud directory - cd cloud Create a Git repository - git init The cloud directory is now a Git repository.

6 v) Execute the ls a command to confirm the same. The output of the ls a command must match the output in the following screenshot: You should see that a.git directory has been created inside the cloud directory, your repository is ready. b) Configuring a GIT Repository Before you can commit changes to GIT repository, you must configure your name and address to identify your commits in the repository. i. Execute the following commands to configure your name: git config --global user.name Your Name Example: git config global user.name John Doe ii. Execute the following commands to configure your address: git config --global user. your- @address Example: git config global user. john.doe@oracle.com iii. To confirm that the values have been set, execute the following command: git config --global l You should see the following: Notes: This sets your name and address for all GIT projects. Don t use --global option to set the name and address at the project level.

7 Test, Build and Deploy the BlackJack Web Service App I) Deploying the BlackJack Application on a Local Server For the VM used in the HOL session, the following steps were done to deploy the BlackJack application locally to Apache Tomcat Server bundled with the project. 1) On the Desktop, right click and create a directory and name it Cloud 2) Copy the Blackjack.zip from the HOL lab files directory into the Cloud directory 3) Right click on the BlackJack.zip file, select 7-Zip, click Extract files, click OK and accept the location. When you extract Blackjack.zip, you will see the Blackjack directory, and two sub-directories (Blackjackpart2 and html5-client) The source for the Blackjack application has been created for you. It is in the Scr directory in the Blackjack-part2 directory Blackjack-part2 Scr Source code for Blackjack Manifest.json Configuration file for deploying to Oracle Application Container Cloud Service Pom.xml Defines plugs in for Maven html5-client cards folder Images of the deck of cards lib folder jquery files jquery is a feature-rich JavaScript library so to use JavaScript on your website. CSS files - CSS is the language for describing the presentation of the web pages index.html An html file (HyperText Markup Language), it defines the structure and layout of a web page. request.json A json file, JSON ( JavaScript Object Notation) use to store information of how you request your cards in Blackjack 4) Launch Netbeans using the NetBeans IDE icon on the desktop.

8 5) Open the Blackjack project, a. In Netbeans - File>Open Project b. Select from Desktop>Cloud>Blackjack> blackjack-part2 c. Click Open Project Note: If all source resources are not available, you might see the following on the screen If you see the screen, click on Resolve Problems. It will open a Resolve Project Problems window, click Resolve. When Netbeans have download the Maven related files, you will see the Final Memory amount in the Output Window area, then click the Close button in the Resolve Project Problems window. 6) Right-click the backjack-part2 project and select the Clean and Build. A CLEAN and BUILD will build your application for deployment. When you use the Clean and Build command, the IDE runs a build script that performs the following tasks: a. Deletes any previously compiled files and other build outputs. b. Recompiles the application and builds a JAR file containing the compiled files

9 7) Deploy the project on Tomcat Server a. Right click the backjack-part2 project and select Run. b. Select com.example.blackjack.rest.application from the Available Main Classes list, and click the Select Main Class button. c. You know your application has started and is running when you see a Started Application in <<seconds>> seconds (JVM running for 5.19) message in the Output window. Note: You may encounter a problem in running this project if there port conflict. This application will be deployed to Apache Tomcat Server and it requires local port 8080 to listen to the client request. Make sure you stop the any services running on local port TCPView tool can be used to identify and terminate the process using this port number. [Download Link](

10 START HERE FOR THE CODE DAY HOL (HANDS ON LAB) As the install and configuration has been done for you, you are starting with the next step - Testing the Locally Deployed BlackJack Application II) Testing the Locally Deployed BlackJack Application Before you run the gaming console of the Blackjack application that has been deployed locally to the VM of the machine you have been assigned to, let s review what has been done on that VM. What has been completed in VM: 1. Installed JDK, Netbeans, Git and Maven 2. Set proxy for Maven 3. Created Cloud directory on Desktop of VM 4. Created, and initialized a local GIT repository 5. Deployed the BlackJack Application on a Local Server This is showing the Desktop on the machine provided by Oracle University. When you log in to the machine, you will not see software started like below, it just intent to show an example of the Desktop when some software (Explorer, Netbeans, and Firefox) is launch. An HTML-5 client application interacts with the BlackJack gaming application deployed on the Tomcat Server that is installed locally when Netbeans was installed on the VM. 1) Launch Netbeans using the NetBeans IDE icon on the desktop.

11 2) Open the Blackjack project, a. In Netbeans - File>Open Project b. Select from Desktop>Cloud>Blackjack> blackjack-part2 c. Click Open Project 3) Deploy the project on Tomcat Server a. Right click the backjack-part2 project and select Run. b. Select com.example.blackjack.rest.application from the Available Main Classes list, and click the Select Main Class button. c. You know your application has started and is running when you see a Started Application in <<seconds>> seconds (JVM running for <<number>>) message in the Output window. 4) Run Blackjack application locally a. Go to Desktop>Cloud > BlackJack > html5-client directory. b. Open the index.html file with Firefox, or enter file:///d:/users/administrator/desktop/cloud/blackjack/html5-client/index.html in the browser c. Make sure that the first field, Service, is populated with < value, enter a number between 1 and 9 in the second field, and then click Connect.

12 5) Once you connect to the Blackjack application gaming console a. Click the Debug on/off button to view the Debug console. b. You can use the Hit and Stand buttons available on the UI to play the game. 6) Close this HTML5 Client application once you are done.

13 III) Generating Application Archive Files for the BlackJack Application Oracle Application Container Cloud can deploy and run Java Platform, Standard Edition (Java SE), and Node.js applications. First, to deploy your application, we compress the application in a ZIP or Gzipped Tar (TGZ) archive file, which includes the required configuration information. You will use Oracle Application Container Cloud Service later in the lab. 1) Create an application archive. i. Open the blackjack-part2 application in Netbeans if it is not opened already. ii. Right-click the project and click Clean. A Clean will remove what you have created before.

14 iii. When you see Build Success in the output window, the Clean is completed. iv. Open a graphical file explorer, navigate Desktop> Cloud > BlackJack > blackjack-part2, and make a note of the directory structure and its contents. Note: The manifest.json file is required for all applications deployed to Oracle Application Container Cloud Service. If this file is not present in the root directory of the.zip,.tar, or.tar.gz file, deployment will fail. At a minimum, this file specifies the major version of the runtime environment and the launch command. Note also, in the manifest.json file, it shows a java -jar Blackjack-part2-1.0.jar file will be created as a result of a Build. Content of the manifest.json file: { "runtime": { "majorversion": "8" }, "command": "java -jar blackjack-part2-1.0.jar", "release": { "version": "1.0", "build": "1", "commit": "1A2B345" }, "notes": "Blackjack Web Service" } ```

15 v. Switch to Netbeans, right-click the blackjack-part2 project, and click Build. A Build will compile only the source files that need to be compiled & links them together to form a new binary. vi. vii. When you see Build Success in the output window, the Build is completed Switch to the file explorer, Desktop>Cloud > Blackjack > blackjack-part2 directory and notice that a new directory named target is created. Examine the target directory. You will notice that.zip and.tar.gz distribution files have been generated. These are application archive files you will use to deploy to OACCS.

16 IV) Logging into Oracle Cloud account, and Setting Replication Policy In the upcoming lab, you will require storage in the Cloud when you create an empty project with a repository to push your application to Developer Cloud Service. To protect the items you store in Oracle Cloud, you must define, the Replication Policy. You will choose a replication policy (if it is not already done by the Identity Domain Administrator) to define your primary data center and also specifies whether your data should be replicated to a geographically distant (secondary) data center. The Cloud Account you will use during the HOL session already has the Replication Policy set. The following is showing you what you might need to do for your Cloud account. So, the HOL session, you DO NOT need to set Replication Policy. Just log into the Cloud Account and continue with the lab. Have available, the cloud login credentials and link you received from Oracle. 1) Login to your Oracle Cloud Account a. Go to the URL: b. Click Sign In IMPORTANT: Using the credentials provided by your instructor or from the information from your Trial confirmation , select from the drop down list the correct data center, and click on My Services.

17 NOTE: The Identity Domain, User Name and Password values will be given to you by the instructor or within your Trial confirmation . c. Enter your Identity Domain and click Go. d. Enter your User Name and Password and click Sign In e. You will see a Dashboard displaying the various cloud services available to this account.

18 2) Customize Display of Services on Dashboard a. If your Storage cloud service is not visible, click on the Customize Dashboard. b. To add services to the dashboard, click, Show. For the labs of this HOL, you will want to ensure that you are showing at least the Application Container, Developer and IaaS Storage cloud services. If you do not want to see a specific service on the Dashboard, click Hide 3) Set Storage Replication Policy As you do not need to set Replication Policy in the HOL session, proceed to - (V) - Creating a New Project in Developer Cloud Service (DevCS) Depending on the state of your Cloud Account, you may need to set the replication policy, if it has not been previously set. Go to the Storage Cloud Service to check on the status of the Replication Policy.

19 a. Click on the Storage Cloud Service b. Click on the Open Service Console icon at the top of the screen. c. If the follow dialog is displayed, Replication Policy Not Set, then you will need to set the Replication Policy. Care must be taking when setting your replication policy, because it cannot be changed. i. From the Actions menu, select Set Replication Policy ii. The Set Replication Policy dialog box appears. It displays the available data centers and replication policies for your Oracle Storage Cloud Service instance. iii. Select the data centers locations iv. After selecting a replication policy, click Set. v. The Confirm Replication Policy Selection dialog box appears vi. Take the default and click on the Set Policy button. Your replication policy is now set V) Creating a New Project in Developer Cloud Service (DevCS) Create an empty Project in Developer Cloud Service 1) On the Developer Cloud Service on the Dashboard, and click on the menu (gray horizontal lines). Click the Open Service Console button. Note: developer34358, the name of the Service instance in DevCS, it will be different for every user 2) On the Developer Cloud Service page, Click New Project

20 3) Enter the Project Name and Description as shown in the following screenshot and click Next 4) Click the Empty Project template and Next. 5) Select MARKDOWN from the Wiki Markup drop-down list and click Finish. Markdown is a plain-text formatting, and a software tool, written in Perl, that converts the plain text formatting to HTML

21 6) Provisioning BlackJackProj project may take several minutes. When provisioning is completed, there will be a check next to all the modules. 7) The home screen of the BlackJackProj will be display

22 VI) Creating a GIT Repository in Developer Cloud Service Oracle Developer Cloud Service uses GIT source control management to save and manage your application source code files. Create an empty GIT repository in Developer Cloud Service. 1) The home screen of the BlackJackProj, Click the New Repository button in the REPOSITORIES section. 2) In the New Repository window, enter the repository name and a description as shown in the following screenshot and click Create.

23 3) It may take a few minutes to create a repository. You will use https to connect your local GIT repository on your laptop to the GIT repository in Developer Cloud Service 4) To get the URL to access the GIT Repository in Developer Cloud Service, Click the HTTP tab in the BlackJack-Part2Repo home page 5) When you click on the HTTP tab, it will then display the HHTP. Click on the icon on the far right to copy the URL to Clipboard. Here is an example of what will be in Clipboard. ouopc083/s/developer34358-ouopc083_blackjackproj_4583/scm/blackjackprojrepo.git

24 VII) Cloning a GIT Repository Clone the BlackJackProj project to a GIT repository on Developer Cloud Service Your goal is to clone the BlackJackProj project on your local machine to the GIT repository on Developer Cloud Service. But first, you need to clone the empty GIT repository from Developer Cloud Service to the local machine, the VM 1) Launch Git Bash from the icon on the Desktop. Note: Git needs to connect to the internet so to get to Developer Cloud Service. If you are connecting to internet on a proxy server, you need provide Git the proxy address of the proxy server. HTTP Proxy is basically a web address you type in to your company s proxy server so you can access the internet. 2) Set https proxy in Git export https_proxy= 3) In Git, go to the cloud directory cd cloud 4) Create a new directory for the Blackjack repository mkdir Blackjack 5) Change to the Blackjack directory - cd Blackjack 6) Confirm you are in the Blackjack directory cloud/blackjack - pwd You should see - /d/users/administrator/cloud/blackjack

25 7) Get the http url from the previous lab - Creating a GIT Repository in Developer Cloud Service, step #5 8) Clone the DevCS repository to your local git repository Execute `git clone <the http url from DevCS> Example: git clone ouopc083/s/developer34358-ouopc083_blackjackproj_4583/scm/blackjackprojrepo.git Note: You will be prompt for your Cloud account password. If you are not prompted for user name and password and the command fails with a 403 error, then provide the password explicitly in the GIT repository URL. 9) Notice that there is a new directory named BlackjackProjRepo created inside cloud/blackjack directory. 10) Change to the BlackjackProjRepo directory - cd BlackjackProjRepo

26 In the BlackjackProjRepo directory, take the files in the blackjack-part2 directory (Scr Source code for Blackjack, Manifest.json Configuration file for deploying to OACCS, and Pom.xml plugs in for Maven) and copy it into the local git repository. Recall this directory got created when you extracted blackjack.zip 11) Copy and paste blackjack-part2 project directory from cloud/blackjack directory to BlackJackProjRepo directory cp -r /d/users/administrator/desktop/cloud/blackjack/blackjack-part2. (Don t forget the period at the end). 12) Note the contents in directory BlackJack-Part2Repo 13) Add the source files to GIT from project root directory - git add.

27 14) Commit the changes of the additional source files to the repository - git commit m Committing changes to BlackJackProjRepo repository 15) Push the files to the repository on Developer Cloud Service - git push origin master Wait until all the files are pushed to repository 16) Switch to Developer Cloud Service to verify the files pushed to the repository 17) In the BlackJackProj home page, click on BlackJackProjRepo.git

28 18) Notice that Blackjackproj project directory has been pushed to repository on Developer Cloud Service. Click on it and see its contents. The contents on the local server, is in the local repository. The contents in the local repository is now in the git repository in Developer Cloud Service

29 VIII) Building a Project on Developer Cloud Service Build the BlackJackProj project in Developer Cloud Service. 1) In the left navigation pane, click on Build and then New Job. (To bring up the left panel, click on the 3 horizontal gray lines next to Oracle Developer Cloud Services 2) In the New Job window, enter BlackJackProjBuildJob in the job name field, and click on Save. 3) On the Configure Job page a. In the Main tab, enter the following values i. Edit the job name (BlackJackProjBuildJob). ii. Enter a description (Job for Blackjack Proj Build) iii. Set the JDK to JDK 8.

30 b. Click the Source Control tab i. Select Git as your repository. ii. For Repositories, in the drop down, select BlackjackProjRepo.git c. Click the Triggers tab i. Check Based on SCM polling schedule Note: This setting will enable auto-deploy feature of DevCS. After the application is modified, if changes are committed to GIT repository on DevCS, it will automatically pick up the updated code and deploy it. d. Click the Build Steps tab. i. Click Add Build Step and select Invoke Maven 3. ii. Set the Goals to: clean package. iii. Set the POM File location to: blackjack-part2/pom.xml

31 e. Click the Post Build tab. i. Check Archive the artifacts. ii. iii. iv. Set Files To Archive to: blackjack-part2/target/blackjack-part2-1.0.jar, blackjack-part2/target/blackjack-part2-1.0-dist.zip Set Compression Type to NONE. Click Save 7) Click Build Now to start the job to begin the application in the Cloud.

32 If the build was successful, you'll see two files: blackjack-part2/target/blackjack-part2-1.0.jar and blackjack-part2/target/blackjack-part2-1.0-dist.zip in the Artifacts of Last Successful Build section. You can download them if you ever next the files by clicking the file name. If the build fails, then go back to check the build job configuration, or click Git Logs to see more information about the error. Great work! You took the application, the Blackjack game console, and deployed on the local server You then took what you deployed locally, and now build it into the cloud with Oracle Developer Cloud Service. Next you will take what you build in the Cloud with Developer Cloud Service (DevCS) and deploy the Blackjack application to Oracle Application Container Cloud Service (OACCS)

33 IX) Deploying a Project to OACCS from DevCS Deploy BlackJackProj to Application Container Cloud Service from Developer Cloud Service. 1) On the BlackjackProj, home page, in the left navigation pane, click on Deploy and then New Configuration 2) In the New Deployment Configuration page, enter the Configuration Name and Application Name 3) In the Deployment Target field, click New and select Application Container Cloud

34 4) In the Deploy to Application Container Cloud window a. Enter (Data center, Identity Domain, Username, Password) with the credentials you received. b. click Test connection c. When you see the Successful message, click Use Connection d. ACCS Properties i. Runtime: Java ii. Subscription: Monthly iii. Type: Automatic (Select Deploy stable build only) iv. Job: BlackJackProjBuildJob v. Artifact: blackjack-part2/target/blackjack-part2-1.0-dist.zip vi. Click Save 5) Click the gear icon and then select Start to deploy the application to Oracle Application Container Cloud Service. 6) After the successful deployment, right-click on BlackjackProj project name and copy the URL

35 X) Testing the BlackJack Application Deployed to OACCS from DevCS An HTML-5 client application has been developed and supplied with the BlackJack application to test its functionality once deployed. Use the following instructions to test the BlackJack application. 1) Open a graphical file explorer and navigate to the Cloud > BlackJack > html5-client directory. 2) Open the index.html file with a browser. (file:///d:/users/administrator/desktop/cloud/blackjack/html5-client/index.html) a. Make sure that the first field, Service, is populated with the URL you copied in step 6 of the previous exercise, ( b. Enter a number between 1 and 9 in the second field, and then click Connect. 3) Once you connect to the gaming console, click the Debug on/off button to view the Debug console. You can use the Hit and Stand buttons available on the UI to play the game like before. Congratulations! You have deployed your application to the Oracle Cloud. Now you can access your Blackjack gaming console from anywhere you have internet access! You can continue with the Hands-On Lab session and deploy the BlackJack application directly on the Application Cloud Service.

36 Deploy the BlackJack WebService App Directly to Oracle Application Container Cloud Overview This lab guides you through deploying the BlackJack application archive that you created in the previous lab to the Oracle Application Container Service on the cloud. Learning Objectives In this Hands-On Lab, you will learn how to: Deploy the application to the Application Container Service. Obtain the cloud service URL that points to where your application is deployed. Run the application you deployed with Oracle Application Container Service on the cloud Prerequisites Completion of the following labs: Preparing the environment for Building and Deploying Applications Test, Build and Deploy the BlackJack Web Service App I) Logging into Oracle Cloud account You will need your Oracle Cloud account credentials for this lab. 1) Follow the same instructions you use in the previous lab to log into your Oracle account. II) Direct Deployment of BlackJack Application to Oracle Application Container Cloud Service (OACCS) You will deploy an application archive to OACCS directly. You will use the same sample application, the BlackJack application for this deployment. Oracle Application Container Cloud Service can deploy and run Java Platform, Standard Edition (Java SE), and Node.js applications.

37 Deploy the BlackJack application to OACCS directly. 1) On Dashboard page, go to Application Container, click on the menu button, click the Open Service Console button 2) Click the Create Application button, it will open the Create Application window, and click the Java SE icon.

38 3) In the Create Application dialog box a. Enter Blackjack-OACCS for the application name b. Select Monthly for the subscription type. c. For the Application Archive field, select Upload Archive. d. Click Browse

39 e. Select the blackjack-part2-1.0-dist.zip file from the target directory f. Enter Deploying BlackJack Application to ACCS directly in the Notes field.

40 g. The Create Application dialog box now shows i. The selected file. ii. Under Instance, review the number of instances and the memory size h. Click Create to deploy your application to Oracle Application Container Cloud. 4) A status message appears indicating that it is Processing Archive. 5) It will take several minutes to deploy the application. The deployment status can be viewed under the In-Progress Activity section.

41 6) Once the application has been deployed successfully. You will not see the In Progress Activity section Copy the application URL and paste it in a notepad. We will need this URL for testing purposes.

42 III) Testing the BlackJack Application Deployed on OACCS An HTML-5 client application has been developed and supplied with the BlackJack application to test its functionality once deployed. 1) Open a graphical file explorer and navigate to the Cloud >BlackJack > html5-client directory. 2) Open the index.html file with a browser. 3) Make sure that the first field, Service is populated with the URL you copied in the previous exercise, < Enter a number between 1 and 9 in the second field, and then, click Connect. 4) Once you connect to the gaming console, click the Debug on/off button to view the Debug console You can use the Hit and Stand buttons available on the UI to play the game. This HTML5 Client application interacts with the BlackJack gaming application deployed on OACCS in the cloud.

43 Congratulations! You have successfully completed deploying BlackJack application to OACCS directly using its user interface and testing. Now that you have completed the cloud-based labs for this event, you can optionally continue with the HelloWorld application and learn how to integrate a local development environment with a cloud environment.

44 Prerequisites Appendix A (optional): Test and Build Helloworld App using Oracle Developer Cloud Service This lab can be performed prior to performing the DevCS labs if you are working on your local machine. However, if you are at the Oracle Code Event, then this lab should be optionally performed after doing the cloud-based labs in order to maximize your time on the cloud. If you are performing this lab on the remote VM supplied by the Oracle Code Event, then your environment has already been set up for you and you can skip this prerequisite section If you want to set up this environment on your local machine to experiment afterwards, then follow the instructions for setting up your environment: o Windows Setup: Labs-local-windows-setup.md o Mac Setup: Labs-local-mac-setup.md Overview This lab guides you through the steps used to configure a local development environment to build, deploy, and test a HelloWorld application with the git, Maven, and NetBeans development tools. Additionally, you learn how to configure a replication service in the Oracle Developer Cloud Service and build, deploy, and test a HelloWorld application on the cloud. Learning Objectives You will learn how to: Configure and clone a Git repository Create a Maven project for a HelloWorld application Configure a Maven pom.xml file to use plugins to configure, build, and run the HelloWorld application locally Use Git source code control to version control your HelloWorld source files and clone them to a Git repository on the cloud Create and configure a Developer Cloud Service project to build, deploy, and run the HelloWorld application on the cloud I) Creating a GIT Repository As part of this activity, you will learn to create and initialize a local GIT repository. If you are using the environment provided by Oracle University, this has been done for you. If you wish to do this locally on your machine, please follow the instructions in the Creating a GIT Repository and Configuring a GIT Repository in a previous sections in this document.

45 II) Creating a Project with Maven Archetypes Use the following instructions to create a Maven project using Archetypes. 1) Open a graphical file explorer, navigate Desktop> Cloud 2) Create a Helloworld directory in Desktop> Cloud 3) Copy Helloworld-Eample.zip from >Desktop>HOL lab files to >Desktop>Cloud>Helloworld, and extract the zip file into the Helloworld directory 4) Launch Git Bash. If you closed the Git Bash window, remember you must set proxy with - export https_proxy= 5) In the Git Bash window, change to the cloud directory where your Git repository is stored. - cd cloud 6) Create a Helloworld directory in >Desktop>Cloud mkdir Helloworld 7) Change to the Helloworld directory - cd Helloworld 8) Create an empty Maven project using the maven-archetype-quickstart archetype. Enter the following command: mvn archetype:generate -DgroupId=com.example -DartifactId=Helloworld-Example - DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false Note: The output of this command will look like this: The command creates an empty Maven project named Helloworld-Example. Examine the directory structure and note that an executable class is located at com.example.app.

46 The pom.xml file must be configured for plug-ins. Launch Notepad++ open the pom.xml file in the HOL Lab files directory. Review the content of the file. 9) Launch Netbeans using the shortcut on the desktop. 10) Open the Helloworld-Example project created under Cloud/Helloworld directory in Netbeans. D:\Users\Administrator\Cloud\Helloworld\Helloworld-Example 11) Examine the directory structure of the project, open com.example.app executable class, and review the code.

47 12). Right-click the Project Files > pom.xml file and click Open. Note: Steps 13 through 17 defines the things you need to add to the pom.xml. You can use the pom.xml file in the HOL Lab files directory you opened in Notepad++. Select the entire xml file, copy it, and paste it to replace all the content of the pom.xml in the source window Or You can go through each of the step and add to the current content of the pom.xml in the source window. 13) Add the following properties settings to the file before the dependencies section. This sets the Java version and encoding for the project. <properties> <java.version>1.8</java.version> <project.build.sourceencoding>utf-8</project.build.sourceencoding> </properties> 14) After the dependencies element, add elements for build and plug-ins. <build> <plugins> <!-- Your plugins go here --> </plugins> </build>

48 15) Add the configuration for the compiler plug-in to the plug-ins section. <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-compiler-plugin</artifactid> <version>2.3.2</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> 16) Add the exec plug-in to the pom.xml file. <plugin> <groupid>org.codehaus.mojo</groupid> <artifactid>exec-maven-plugin</artifactid> <version>1.4.0</version> <executions> <execution> <goals> <goal>exec</goal> </goals> </execution> </executions> <configuration> <mainclass>com.example.app</mainclass> </configuration> </plugin> 17) Add the JAR plug-in to the pom.xml file. <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-jar-plugin</artifactid> <version>2.6</version> <configuration> <archive> <manifest> <mainclass>com.example.app</mainclass> </manifest> </archive> </configuration> </plugin>

49 18) In the source window, right-click the pom.xml file and select Format to fix the indentation for the file. 19) Save the pom.xml file. If you might see an issue, follow instructions on how to Resolve from the previous labs. 20) Right-click the Helloworld-Example project and click Clean and Build.

50 When see Build Success in Output Window, then Run 21) Right-click the Helloworld-Example project and click Run. 22) Select com.example.app from the Available Main Classes list and click the Select Main Class button. 23) You should see Hello World! Output with a BUILD SUCCESS message. 24) Switch to Git Bash and change the directory to Helloworld-Example - cd Helloworld-Example 25) Execute the mvn clean compile command to clean and compile the project.

51 When the compilation is completed you will see the target directory 26) Execute the mvn exec:java command to execute the application.command to package the application. 27) Execute the mvn package command to package the application.

52 Note: Examine the Helloworld-Example-1.0-SNAPSHOT.jar file created inside cloud/helloworld/helloworld-example/target directory. 28) Execute the java -jar target/helloworld-example-1.0-snapshot.jar command to run the packaged application. You executed the Helloworld application to have Hello World! display on your screen.

53 III) Checking the Helloworld-Example Project into a GIT Repository Use the following instructions to store the Helloworld-Example project in the local GIT repository. 1) Change into the cloud/helloworld directory. 2) Execute the git add n. command to see the list of files that are ready to be added to the repository. Note: Please notice that there is. at the end of the command. 3) Execute the git add. command to add the files to the repository. 4) Execute the git status command to check the files that are added. 5) Execute the git commit m Initial Commit for Helloworld-Example Project to commit the files to the repository and begin version tracking.

54 6) Your files are now checked in for version tracking. 7) Check the status of the repository by executing the git status command. Note: You should get a response similar to the one in the screenshot. IV) Creating a Developer Cloud Service Project Use Developer Cloud Service to create an empty project (HelloworldProject) with a repository (HelloworldProjectRepo) to push the Helloworld-Example application that you have created in the previous activity to Developer Cloud Service. 1) Follow instructions from previous lab to log into your Oracle Cloud account, and Open Service Console in Developer Cloud Service. 2) Click New Project.

55 3) Enter the Project Name and Description as shown in the following screenshot and click Next. 4) Click the Empty Project template and Next.

56 5) Select MARKDOWN from the Wiki Markup drop-down list and click Finish. 6) Provisioning HelloworldProject may take several minutes. Wait until all the modules are provisioned and redirected to the HelloworldProject home screen.

57 V) Creating a GIT Repository in Developer Cloud Service Use the following instructions to create a GIT repository on Developer Cloud Service. 1) Click the New Repository button in the REPOSITORIES section. 2) In the New Repository window, enter the repository name and description as shown in the following screenshot and click Create. 3) It may take a few minutes to create a repository. Wait until the HelloworldProjectRepo repository is created and redirected to the HelloworldProjectRepo home page. 4) Click the HTTP tab in the HelloworldProjectRepo home page and copy the URL.

58 VI) Cloning a GIT Repository Use the following instructions to clone the Helloworld-Example project to a GIT repository on Developer Cloud Service. 2) To clone a GIT repository, first change to the cloud/helloworld directory that is the root directory for your repository. 3) Execute git clone gse /s/developer gse _helloworldproject_16312/scm/helloworldprojectrepo.gitgit Notes: Enter your cloud account username and password, if you are prompted. The output of this command should be similar to the output in the above screenshot. 4) Notice that there is a new directory named HelloworldProjectRepo created inside cloud/helloworld directory.

59 4) Copy and paste Helloworld-Example project directory from Cloud/Helloworld directory to HelloworldProjectRepo directory Note: Content of the HelloworldProjectRepo directory should match with the contents listed below screenshot. 5) Change to the HelloworldProjectRepo directory - cd HelloworldProjectRepo 6) Add the source files to GIT from project root directory - git add. 7) Commit the changes - git commit m commiting changes to HelloworldProjectRepo repository 8) Push the files to the repository on Developer Cloud Service - git push origin master 9) Switch to Developer Cloud Service to verify the files pushed to the repository 10) In the HelloworldProject home page, click on HelloworldProjectRepo.git 11) Notice that Helloworld-Example project directory has been pushed to repository on Developer Cloud Service..

60 12) Click on it and verify its contents VII) Cloning a GIT RepositoBuilding a Project on Developer Cloud Servicery Use the following instructions to build Helloworld-Example project Developer Cloud Service. 1) In the left navigation pane, click on Build and then New Job 2) In the New Job window, enter HelloworldProjectBJ the job name field and click on Save

61 3) In the Main tab, enter the following values: a) Edit the job name if it needs adjusting. b) Enter a description. c) Set the JDK to JDK 8. 4) Click the Source Control tab a) Select Git as your repository. b) For URL, select the URL to your Git repository.

62 5) Click the Build Steps tab. a) Click Add Build Step and select Invoke Maven 3. b) Set the Goals to: clean package. c) Set the POM File location to: Helloworld-Example/pom.xml

63 6) Click the Post Build tab. a) Select Archive the artifacts. b) Set Files To Archive to: Helloworld-Example/target/Helloworld-Example-1.0-SNAPSHOT.jar c) Set Compression Type to NONE. 7) Click Save and then click Build Now. If the build was successful, you'll see a file: Helloworld-Example/target/Helloworld-Example-1.0- SNAPSHOT.jar in the Artifacts of Last Successful Build section. You can download it by clicking the file name. If the build failed then go back to check the build job configuration or click Git Logs to see more information about the error. With this you have successfully completed creating a local GIT repository, creating a Maven project, storing Maven project in local GIT repository, activating DevCS, creating a project and GIT repository in DevCS, cloning project to DevCS and then creating a build job for deployment.

Oracle Code Day Hands On Labs (HOL) (Install, Repository, Local Deploy, DevCS, OACCS)

Oracle Code Day Hands On Labs (HOL) (Install, Repository, Local Deploy, DevCS, OACCS) Oracle Code Day Hands On Labs (HOL) (Install, Repository, Local Deploy, DevCS, OACCS) Table of Contents Getting Started...2 Overview...2 Learning Objectives...2 Prerequisites...2 Software for HOL Lab Session...2

More information

BUILD AND DEPLOY SOA PROJECTS FROM DEVELOPER CLOUD SERVICE TO ORACLE SOA CLOUD SERVICE

BUILD AND DEPLOY SOA PROJECTS FROM DEVELOPER CLOUD SERVICE TO ORACLE SOA CLOUD SERVICE BUILD AND DEPLOY SOA PROJECTS FROM DEVELOPER CLOUD SERVICE TO ORACLE SOA CLOUD SERVICE Ashwini Sharma 1 CONTENTS 1. Introduction... 2 2 Prerequisites... 2 3 Patch the SOA Server Installation... 2 4. Use

More information

Sample Spark Web-App. Overview. Prerequisites

Sample Spark Web-App. Overview. Prerequisites Sample Spark Web-App Overview Follow along with these instructions using the sample Guessing Game project provided to you. This guide will walk you through setting up your workspace, compiling and running

More information

BUILD AND DEPLOY ORACLE SERVICE BUS PROJECTS FROM ORACLE DEVELOPER CLOUD SERVICE TO ORACLE SOA CLOUD SERVICE USING THE ORACLE SERVICE BUS PLUG-IN

BUILD AND DEPLOY ORACLE SERVICE BUS PROJECTS FROM ORACLE DEVELOPER CLOUD SERVICE TO ORACLE SOA CLOUD SERVICE USING THE ORACLE SERVICE BUS PLUG-IN BUILD AND DEPLOY ORACLE SERVICE BUS PROJECTS FROM ORACLE DEVELOPER CLOUD SERVICE TO ORACLE SOA CLOUD SERVICE USING THE ORACLE SERVICE BUS PLUG-IN Kishor Kumar Contents 1. Introduction... 2 2. Prerequisites...

More information

Maven POM project modelversion groupid artifactid packaging version name

Maven POM project modelversion groupid artifactid packaging version name Maven The goal of this document is to introduce the Maven tool. This document just shows some of the functionalities of Maven. A complete guide about Maven can be found in http://maven.apache.org/. Maven

More information

How to Install (then Test) the NetBeans Bundle

How to Install (then Test) the NetBeans Bundle How to Install (then Test) the NetBeans Bundle Contents 1. OVERVIEW... 1 2. CHECK WHAT VERSION OF JAVA YOU HAVE... 2 3. INSTALL/UPDATE YOUR JAVA COMPILER... 2 4. INSTALL NETBEANS BUNDLE... 3 5. CREATE

More information

Lab 03 Finish and Deploy an Application. Lab 3-1: Add DELETE to the Spring Boot REST Application

Lab 03 Finish and Deploy an Application. Lab 3-1: Add DELETE to the Spring Boot REST Application Lab 03 Finish and Deploy an Application In this lab, you ll finish your version of the application featured in Lab 1. This includes creating the remaining REST calls. Test your work locally as you develop.

More information

Setup and Getting Startedt Customized Java EE Training:

Setup and Getting Startedt Customized Java EE Training: 2011 Marty Hall Java a with Eclipse: Setup and Getting Startedt Customized Java EE Training: http://courses.coreservlets.com/ 2011 Marty Hall For live Java EE training, please see training courses at http://courses.coreservlets.com/.

More information

BlueMix Hands-On Workshop Lab A - Building and Deploying BlueMix Applications

BlueMix Hands-On Workshop Lab A - Building and Deploying BlueMix Applications BlueMix Hands-On Workshop Lab A - Building and Deploying BlueMix Applications Version : 4.00 Last modification date : 13 June 2014 Owner : IBM Ecosystem Development Table of Contents Part 1: Building

More information

For live Java EE training, please see training courses at

For live Java EE training, please see training courses at Java with Eclipse: Setup & Getting Started Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/java.html For live Java EE training, please see training courses

More information

CSCI 201 Lab 1 Environment Setup

CSCI 201 Lab 1 Environment Setup CSCI 201 Lab 1 Environment Setup "The journey of a thousand miles begins with one step." - Lao Tzu Introduction This lab document will go over the steps to install and set up Eclipse, which is a Java integrated

More information

Continuous Integration (CI) with Jenkins

Continuous Integration (CI) with Jenkins TDDC88 Lab 5 Continuous Integration (CI) with Jenkins This lab will give you some handson experience in using continuous integration tools to automate the integration periodically and/or when members of

More information

Sonatype CLM - IDE User Guide. Sonatype CLM - IDE User Guide

Sonatype CLM - IDE User Guide. Sonatype CLM - IDE User Guide Sonatype CLM - IDE User Guide i Sonatype CLM - IDE User Guide Sonatype CLM - IDE User Guide ii Contents 1 Introduction 1 2 Installing Sonatype CLM for Eclipse 2 3 Configuring Sonatype CLM for Eclipse 5

More information

vrealize Code Stream Plug-In SDK Development Guide

vrealize Code Stream Plug-In SDK Development Guide vrealize Code Stream Plug-In SDK Development Guide vrealize Code Stream 2.2 This document supports the version of each product listed and supports all subsequent versions until the document is replaced

More information

EUSurvey OSS Installation Guide

EUSurvey OSS Installation Guide Prerequisites... 2 Tools... 2 Java 7 SDK... 2 MySQL 5.6 DB and Client (Workbench)... 4 Tomcat 7... 8 Spring Tool Suite... 11 Knowledge... 12 Control System Services... 12 Prepare the Database... 14 Create

More information

Oracle Cloud Using Oracle Developer Cloud Service

Oracle Cloud Using Oracle Developer Cloud Service Oracle Cloud Using Oracle Developer Cloud Service E37145-27 June 2018 Oracle Cloud Using Oracle Developer Cloud Service, E37145-27 Copyright 2014, 2018, Oracle and/or its affiliates. All rights reserved.

More information

Running the ESPM Twitter Integration sample app on SAP Cloud Platform

Running the ESPM Twitter Integration sample app on SAP Cloud Platform Running the ESPM Twitter Integration sample app on SAP Cloud Platform By Daniel Gomes da Silva Learn how to download, build, deploy, configure and run the ESPM Twitter Integration JAVA sample app on SAP

More information

Topics covered. Introduction to Maven Maven for Dependency Management Maven Lifecycles and Plugins Hands on session. Maven 2

Topics covered. Introduction to Maven Maven for Dependency Management Maven Lifecycles and Plugins Hands on session. Maven 2 Maven Maven 1 Topics covered Introduction to Maven Maven for Dependency Management Maven Lifecycles and Plugins Hands on session Maven 2 Introduction to Maven Maven 3 What is Maven? A Java project management

More information

Software Installation Guide

Software Installation Guide Software Installation Guide Software Installation Guide 2024C Engagement Development Platform Developing Snap-ins using Java Page 1 of 11 Bring Your Own Device (BYOD) Requirements You will be using your

More information

AUTOMATION TESTING FRAMEWORK FOR LUMINOUS LMS

AUTOMATION TESTING FRAMEWORK FOR LUMINOUS LMS AUTOMATION TESTING FRAMEWORK FOR LUMINOUS LMS CONTENT Introduction. List of tools used to create Testing Framework Luminous LMS work scheme Testing Framework work scheme Automation scenario set lifecycle

More information

What is Maven? Apache Maven is a software project management and comprehension tool (build, test, packaging, reporting, site, deploy).

What is Maven? Apache Maven is a software project management and comprehension tool (build, test, packaging, reporting, site, deploy). Plan What is Maven? Links : mvn command line tool POM : 1 pom.xml = 1 artifact POM POM Inheritance Standard Directory Layout Demo on JMMC projects Plugins Conclusion What is Maven? Apache Maven is a software

More information

Installation Guide - Mac

Installation Guide - Mac Kony Visualizer Enterprise Installation Guide - Mac Release V8 SP3 Document Relevance and Accuracy This document is considered relevant to the Release stated on this title page and the document version

More information

Using the Computer Programming Environment

Using the Computer Programming Environment Information sheet EN064 Overview C2k has developed an environment to allow GCSE and A-Level students to undertake computer programming from within the C2k Managed Service. This environment will deliver

More information

Continuous Integration INRIA

Continuous Integration INRIA Vincent Rouvreau - https://sed.saclay.inria.fr February 28, 2017 Contents 1 Preamble To go through this exercise, you will need to install : 1. Git (sudo apt-get install git sudo yum install git) 2. A

More information

Red Hat JBoss Enterprise Application Platform 6.4

Red Hat JBoss Enterprise Application Platform 6.4 Red Hat JBoss Enterprise Application Platform 6.4 Getting Started Guide For Use with Red Hat JBoss Enterprise Application Platform 6 Last Updated: 2017-12-12 Red Hat JBoss Enterprise Application Platform

More information

Red Hat JBoss Developer Studio 10.3 Getting Started with JBoss Developer Studio Tools

Red Hat JBoss Developer Studio 10.3 Getting Started with JBoss Developer Studio Tools Red Hat JBoss Developer Studio 10.3 Getting Started with JBoss Developer Studio Tools Introduction to Using Red Hat JBoss Developer Studio Tools Misha Husnain Ali Supriya Bharadwaj Red Hat Developer Group

More information

Lab 1 1 Due Wed., 2 Sept. 2015

Lab 1 1 Due Wed., 2 Sept. 2015 Lab 1 1 Due Wed., 2 Sept. 2015 CMPSC 112 Introduction to Computer Science II (Fall 2015) Prof. John Wenskovitch http://cs.allegheny.edu/~jwenskovitch/teaching/cmpsc112 Lab 1 - Version Control with Git

More information

JDK-WildFly-NetBeans Setup Local

JDK-WildFly-NetBeans Setup Local @author R.L. Martinez, Ph.D. Table of Contents Overview... 1 Security Notice... 2 Download and Install Latest Stable JDK... 2 Download and Install Latest Stable WildFly... 6 Download and Install Latest

More information

Ansible Tower Quick Setup Guide

Ansible Tower Quick Setup Guide Ansible Tower Quick Setup Guide Release Ansible Tower 2.4.5 Red Hat, Inc. Jun 06, 2017 CONTENTS 1 Quick Start 2 2 Login as a Superuser 3 3 Import a License 4 4 Examine the Tower Dashboard 6 5 The Setup

More information

APAR PO06620 Installation Instructions

APAR PO06620 Installation Instructions IBM Corporation APAR PO06620 Installation Instructions IBM Counter Fraud Management 1.5.0.5 IBM Counter Fraud Development 3-31-2017 Table of Contents 1 Fix readme... 1 2 Abstract... 1 3 Contents... 1 4

More information

MAVEN MOCK TEST MAVEN MOCK TEST I

MAVEN MOCK TEST MAVEN MOCK TEST I http://www.tutorialspoint.com MAVEN MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Maven. You can download these sample mock tests at your local machine

More information

Installation Guide - Windows

Installation Guide - Windows Kony Visualizer Enterprise Installation Guide - Windows Release V8 SP3 Document Relevance and Accuracy This document is considered relevant to the Release stated on this title page and the document version

More information

Red Hat Developer Studio 12.0

Red Hat Developer Studio 12.0 Red Hat Developer Studio 12.0 Getting Started with Developer Studio Tools Introduction to Using Red Hat Developer Studio Tools Last Updated: 2018-07-16 Red Hat Developer Studio 12.0 Getting Started with

More information

IBM. IBM WebSphere Application Server Migration Toolkit. WebSphere Application Server. Version 9.0 Release

IBM. IBM WebSphere Application Server Migration Toolkit. WebSphere Application Server. Version 9.0 Release WebSphere Application Server IBM IBM WebSphere Application Server Migration Toolkit Version 9.0 Release 18.0.0.3 Contents Chapter 1. Overview......... 1 Chapter 2. What's new........ 5 Chapter 3. Support..........

More information

Composer Guide for JavaScript Development

Composer Guide for JavaScript Development IBM Initiate Master Data Service Version 10 Release 0 Composer Guide for JavaScript Development GI13-2630-00 IBM Initiate Master Data Service Version 10 Release 0 Composer Guide for JavaScript Development

More information

MAVEN INTERVIEW QUESTIONS

MAVEN INTERVIEW QUESTIONS MAVEN INTERVIEW QUESTIONS http://www.tutorialspoint.com/maven/maven_interview_questions.htm Copyright tutorialspoint.com Dear readers, these Maven Interview Questions have been designed specially to get

More information

Exercise 1. Bluemix and the Cloud Foundry command-line interface (CLI)

Exercise 1. Bluemix and the Cloud Foundry command-line interface (CLI) V10.1 Student Exercises EXempty Exercise 1. Bluemix and the Cloud Foundry command-line interface (CLI) What this exercise is about In this exercise, you sign on to Bluemix and create an application. You

More information

What s NetBeans? Like Eclipse:

What s NetBeans? Like Eclipse: What s NetBeans? Like Eclipse: It is a free software / open source platform-independent software framework for delivering what the project calls "richclient applications" It is an Integrated Development

More information

VII. Corente Services SSL Client

VII. Corente Services SSL Client VII. Corente Services SSL Client Corente Release 9.1 Manual 9.1.1 Copyright 2014, Oracle and/or its affiliates. All rights reserved. Table of Contents Preface... 5 I. Introduction... 6 Chapter 1. Requirements...

More information

Sonatype CLM Enforcement Points - Nexus. Sonatype CLM Enforcement Points - Nexus

Sonatype CLM Enforcement Points - Nexus. Sonatype CLM Enforcement Points - Nexus Sonatype CLM Enforcement Points - Nexus i Sonatype CLM Enforcement Points - Nexus Sonatype CLM Enforcement Points - Nexus ii Contents 1 Introduction 1 2 Sonatype CLM for Repository Managers 2 3 Nexus Pro

More information

Red Hat JBoss Web Server 3.1

Red Hat JBoss Web Server 3.1 Red Hat JBoss Web Server 3.1 Red Hat JBoss Web Server for OpenShift Installing and using Red Hat JBoss Web Server for OpenShift Last Updated: 2018-03-05 Red Hat JBoss Web Server 3.1 Red Hat JBoss Web

More information

An Introduction to Eclipse Che Lets build a custom cloud IDE. October 2015 Tyler Jewell, Eclipse Che Project

An Introduction to Eclipse Che Lets build a custom cloud IDE. October 2015 Tyler Jewell, Eclipse Che Project An Introduction to Eclipse Che Lets build a custom cloud IDE October 2015 Tyler Jewell, Eclipse Che Project Lead @TylerJewell Goal Let anyone contribute to any project anywhere at any time. no pre-installation

More information

SAP NW CLOUD HANDS-ON WORKSHOP

SAP NW CLOUD HANDS-ON WORKSHOP SAP NW CLOUD HANDS-ON WORKSHOP CD261 Exercises Sajjad Ahmed, Steven Taylor / SAP 2 Table of Contents Introduction P. 3 Application Description P. 3 Workshop Agenda P. 3 Exercise 1 Configure Development

More information

Content. Development Tools 2(57)

Content. Development Tools 2(57) Development Tools Content Project management and build, Maven Unit testing, Arquillian Code coverage, JaCoCo Profiling, NetBeans Static Analyzer, NetBeans Continuous integration, Hudson Development Tools

More information

Import Data Connection to an SAP ERP System

Import Data Connection to an SAP ERP System Import Data Connection to an SAP ERP System SAP Analytics Cloud allows you to import data from supported versions SAP ERP Central Component. NOTE: It is recommended that the SAP Cloud Platform Cloud Connector

More information

Import Data Connection from an SAP Universe

Import Data Connection from an SAP Universe Import Data Connection from an SAP Universe SAP Analytics Cloud allows you to connect to SAP Universe and import your data. NOTE: It is recommended that the SAP Cloud Platform Cloud Connector (SAP CP CC)

More information

EUSurvey Installation Guide

EUSurvey Installation Guide EUSurvey Installation Guide Guide to a successful installation of EUSurvey May 20 th, 2015 Version 1.2 (version family) 1 Content 1. Overview... 3 2. Prerequisites... 3 Tools... 4 Java SDK... 4 MySQL Database

More information

Developing Android applications in Windows

Developing Android applications in Windows Developing Android applications in Windows Below you will find information about the components needed for developing Android applications and other (optional) software needed to connect to the institution

More information

Create Import Data Connection to SAP BPC MS

Create Import Data Connection to SAP BPC MS Create Import Data Connection to SAP BPC MS You can create a connection that allows you to import data and models from an SAP Business Planning and Consolidation (BPC) system. Prerequisites SAP BPC for

More information

Setting up a Maven Project

Setting up a Maven Project Setting up a Maven Project This documentation describes how to set up a Maven project for CaptainCasa. Please use a CaptainCasa version higher than 20180102. There were quite some nice changes which were

More information

Setting Up the Development Environment

Setting Up the Development Environment CHAPTER 5 Setting Up the Development Environment This chapter tells you how to prepare your development environment for building a ZK Ajax web application. You should follow these steps to set up an environment

More information

Introduction to Git and GitHub for Writers Workbook February 23, 2019 Peter Gruenbaum

Introduction to Git and GitHub for Writers Workbook February 23, 2019 Peter Gruenbaum Introduction to Git and GitHub for Writers Workbook February 23, 2019 Peter Gruenbaum Table of Contents Preparation... 3 Exercise 1: Create a repository. Use the command line.... 4 Create a repository...

More information

Continuous Integration, Continuous Deployment and Continuous Testing by HP Codar using ALM and Jenkins

Continuous Integration, Continuous Deployment and Continuous Testing by HP Codar using ALM and Jenkins HP Codar Software Version 1.0 Continuous Integration, Continuous Deployment and Continuous Testing by HP Codar using ALM and Jenkins HP Codar (1.0) Page 1 of 24 Contents What is Codar?... 3 Why is Codar

More information

4. Check the site specified in previous step to work with, expand Maven osgi-bundles, and select slf4j.api,

4. Check the site specified in previous step to work with, expand Maven osgi-bundles, and select slf4j.api, In this tutorial, we describe steps for setting up a Maven project that uses libsbolj in Eclipse. Another tutorial follows this one which explains how we use SBOL 2 to represent the function of a state-of-the-art

More information

10.1 Getting Started with Container and Cloud-based Development

10.1 Getting Started with Container and Cloud-based Development Red Hat JBoss Developer Studio 10.1 Getting Started with Container and Cloud-based Development Starting Development of Container and Cloud-based Applications Using Red Hat JBoss Developer Studio Misha

More information

Polarion Trial Installation 17.2

Polarion Trial Installation 17.2 SIEMENS Polarion Trial Installation 17.2 POL002 17.2 Contents About this guide...................................................... 1-1 Before you begin.....................................................

More information

CONTINUOUS DELIVERY IN THE ORACLE CLOUD

CONTINUOUS DELIVERY IN THE ORACLE CLOUD CONTINUOUS DELIVERY IN THE ORACLE CLOUD Lykle Thijssen Bruno Neves Alves June 7, 2018 NLOUG Tech Experience Amersfoort eproseed Confidential ABOUT US Lykle Thijssen Principal Architect and Scrum Master

More information

ActiveSpaces Transactions. Quick Start Guide. Software Release Published May 25, 2015

ActiveSpaces Transactions. Quick Start Guide. Software Release Published May 25, 2015 ActiveSpaces Transactions Quick Start Guide Software Release 2.5.0 Published May 25, 2015 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED

More information

Java with Eclipse: Setup & Getting Started

Java with Eclipse: Setup & Getting Started Java with Eclipse: Setup & Getting Started Originals of slides and source code for examples: http://courses.coreservlets.com/course-materials/java.html Also see Java 8 tutorial: http://www.coreservlets.com/java-8-tutorial/

More information

Set up Maven plugins in Eclipse. Creating a new project

Set up Maven plugins in Eclipse. Creating a new project In this tutorial, we describe steps for setting up a Maven project that uses libsbolj in Eclipse. Another tutorial follows this one which explains how we use SBOL 2.0 to represent the function of a state-of-the-art

More information

Getting started with Geomajas. Geomajas Developers and Geosparc

Getting started with Geomajas. Geomajas Developers and Geosparc Getting started with Geomajas Geomajas Developers and Geosparc Getting started with Geomajas by Geomajas Developers and Geosparc 1.12.0-SNAPSHOT Copyright 2010-2014 Geosparc nv Abstract Documentation for

More information

Import Data Connection to an SAP BW System

Import Data Connection to an SAP BW System Import Data Connection to an SAP BW System SAP Analytics Cloud allows you to import data from an SAP BW System. You must connect to an SAP BW system, version 7.3x or higher release. NOTE: It is recommended

More information

NetApp Jenkins Plugin Documentation

NetApp Jenkins Plugin Documentation NetApp Jenkins Plugin Documentation Release 2.0 Akshay Patil Aug 22, 2017 Contents 1 Contents 3 1.1 Pre-Requisites.............................................. 3 1.2 Configuration...............................................

More information

JBoss Enterprise Application Platform 6.2

JBoss Enterprise Application Platform 6.2 JBoss Enterprise Application Platform 6.2 Getting Started Guide Edition 1 For Use with Red Hat JBoss Enterprise Application Platform 6 Last Updated: 2017-10-16 JBoss Enterprise Application Platform 6.2

More information

TIBCO LiveView Web Getting Started Guide

TIBCO LiveView Web Getting Started Guide TIBCO LiveView Web Getting Started Guide Introduction 2 Prerequisites 2 Installation 2 Installation Overview 3 Downloading and Installing for Windows 3 Downloading and Installing for macos 4 Installing

More information

Build Tools. Software Engineering SS A tool was needed. Agenda for today. Build tools. Software complexity. Build tools

Build Tools. Software Engineering SS A tool was needed. Agenda for today. Build tools. Software complexity. Build tools Agenda for today Build Tools Software Engineering SS 2007 Build Tools Available 4. Presentation Objectives - Use modern build systems for software Software Engineering, lecture #: Topic 2 Software complexity

More information

Contents. Anaplan Connector for MuleSoft

Contents. Anaplan Connector for MuleSoft SW Version 1.1.2 Contents 1 Overview... 3 2 Mulesoft Prerequisites... 4 3 Anaplan Prerequisites for the Demos... 5 3.1 export demo mule-app.properties file...5 3.2 import demo mule-app.properties file...5

More information

Cisco CVP VoiceXML 3.1. Installation Guide

Cisco CVP VoiceXML 3.1. Installation Guide Cisco CVP VoiceXML 3.1 CISCO CVP VOICEXML 3.1 Publication date: October 2005 Copyright (C) 2001-2005 Audium Corporation. All rights reserved. Distributed by Cisco Systems, Inc. under license from Audium

More information

Hands-On Lab. Windows Azure Virtual Machine Roles. Lab version: Last updated: 12/14/2010. Page 1

Hands-On Lab. Windows Azure Virtual Machine Roles. Lab version: Last updated: 12/14/2010. Page 1 Hands-On Lab Windows Azure Virtual Machine Roles Lab version: 2.0.0 Last updated: 12/14/2010 Page 1 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING AND DEPLOYING A VIRTUAL MACHINE ROLE IN WINDOWS AZURE...

More information

Red Hat JBoss Developer Studio 11.3

Red Hat JBoss Developer Studio 11.3 Red Hat JBoss Developer Studio 11.3 Getting Started with JBoss Developer Studio Tools Introduction to Using Red Hat JBoss Developer Studio Tools Last Updated: 2018-06-08 Red Hat JBoss Developer Studio

More information

Build Tools. Software Engineering SS 2007

Build Tools. Software Engineering SS 2007 Build Tools Software Engineering SS 2007 Agenda for today Build Tools 1. Motivation 2. Key Concepts 3. Tools Available 4. Presentation 5. Discussion Objectives - Use modern build systems for software Software

More information

BlueMix Hands-On Workshop

BlueMix Hands-On Workshop BlueMix Hands-On Workshop Lab E - Using the Blu Big SQL application uemix MapReduce Service to build an IBM Version : 3.00 Last modification date : 05/ /11/2014 Owner : IBM Ecosystem Development Table

More information

ForeScout Extended Module for MaaS360

ForeScout Extended Module for MaaS360 Version 1.8 Table of Contents About MaaS360 Integration... 4 Additional ForeScout MDM Documentation... 4 About this Module... 4 How it Works... 5 Continuous Query Refresh... 5 Offsite Device Management...

More information

EMC Documentum Composer

EMC Documentum Composer EMC Documentum Composer Version 6.0 SP1.5 User Guide P/N 300 005 253 A02 EMC Corporation Corporate Headquarters: Hopkinton, MA 01748 9103 1 508 435 1000 www.emc.com Copyright 2008 EMC Corporation. All

More information

Managing System Administration Settings

Managing System Administration Settings This chapter contains the following sections: Setting up the Outgoing Mail Server, page 2 Working with Email Templates, page 2 Configuring System Parameters (Optional), page 5 Updating the License, page

More information

Eclipse Environment Setup

Eclipse Environment Setup Eclipse Environment Setup Adapted from a document from Jeffrey Miller and the CS201 team by Shiyuan Sheng. Introduction This lab document will go over the steps to install and set up Eclipse, which is

More information

3 Connecting to Applications

3 Connecting to Applications 3 Connecting to Applications 3 Connecting to Applications...1 3.1 Prerequisites...1 3.2 Introduction...1 3.2.1 Pega, the Widget Supplier...2 3.2.2 Mega, the Widget Procurer...2 3.3 Create Requisition...3

More information

Using SourceTree on the Development Server

Using SourceTree on the Development Server Using SourceTree on the Development Server This content has been modified to exclude client information. Such omissions include the client name and details of the client s infrastructure, such as domain

More information

Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1

Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1 Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1 Setting Up Resources in VMware Identity Manager (On Premises) You can find the most up-to-date

More information

DevOps for Oracle Forms Using Developer Cloud Service

DevOps for Oracle Forms Using Developer Cloud Service DevOps for Oracle Forms Using Developer Cloud Service Automating Application Deployment O R A C L E W H I T E P A P E R N O V E M B E R 2 0 1 8 Disclaimer The following is intended to outline our general

More information

JBoss Portal Quickstart User Guide. Release 2.6.6

JBoss Portal Quickstart User Guide. Release 2.6.6 JBoss Portal 2.6.6 Quickstart User Guide Release 2.6.6 Table of Contents JBoss Portal - Overview... iii 1. Tutorial Forward...1 2. Installation...2 2.1. Downloading and Installing...2 2.2. Starting JBoss

More information

User Guide. Kronodoc Kronodoc Oy. Intelligent methods for process improvement and project execution

User Guide. Kronodoc Kronodoc Oy. Intelligent methods for process improvement and project execution User Guide Kronodoc 3.0 Intelligent methods for process improvement and project execution 2003 Kronodoc Oy 2 Table of Contents 1 User Guide 5 2 Information Structure in Kronodoc 6 3 Entering and Exiting

More information

Force.com IDE Developer Guide

Force.com IDE Developer Guide Force.com IDE Developer Guide Force.com IDE v38.0, Summer 17 @salesforcedocs Last updated: August 9, 2017 Copyright 2000 2017 salesforce.com, inc. All rights reserved. Salesforce is a registered trademark

More information

Cloud Computing II. Exercises

Cloud Computing II. Exercises Cloud Computing II Exercises Exercise 1 Creating a Private Cloud Overview In this exercise, you will install and configure a private cloud using OpenStack. This will be accomplished using a singlenode

More information

Application prerequisites

Application prerequisites How to start developing Spark applications in Eclipse By Marko Bonaći In this article, you will learn to write Spark applications using Eclipse, the most widely used development environment for JVM-based

More information

Getting Started with Cisco UCS Director Open Automation

Getting Started with Cisco UCS Director Open Automation Getting Started with Cisco UCS Director Open Automation Cisco UCS Director Open Automation, page 1 Upgrading Your Connector to the Current Release, page 5 Modules, page 5 Cisco UCS Director Open Automation

More information

vsphere Web Client SDK Documentation VMware vsphere Web Client SDK VMware ESXi vcenter Server 6.5.1

vsphere Web Client SDK Documentation VMware vsphere Web Client SDK VMware ESXi vcenter Server 6.5.1 vsphere Web Client SDK Documentation VMware vsphere Web Client SDK 6.5.1 VMware ESXi 6.5.1 vcenter Server 6.5.1 You can find the most up-to-date technical documentation on the VMware website at: https://docs.vmware.com/

More information

Introduction... 5 Configuring Single Sign-On... 7 Prerequisites for Configuring Single Sign-On... 7 Installing Oracle HTTP Server...

Introduction... 5 Configuring Single Sign-On... 7 Prerequisites for Configuring Single Sign-On... 7 Installing Oracle HTTP Server... Oracle Access Manager Configuration Guide for On-Premises Version 17 October 2017 Contents Introduction... 5 Configuring Single Sign-On... 7 Prerequisites for Configuring Single Sign-On... 7 Installing

More information

Web Age Solutions Inc. WA2639 Devops with Jenkins, Terraform and Hashicorp Stack. Classroom Setup Guide. Web Age Solutions Inc. 1

Web Age Solutions Inc. WA2639 Devops with Jenkins, Terraform and Hashicorp Stack. Classroom Setup Guide. Web Age Solutions Inc. 1 WA2639 Devops with Jenkins, Terraform and Hashicorp Stack Classroom Setup Guide Web Age Solutions Inc. Web Age Solutions Inc. 1 Table of Contents Part 1 - Introduction...3 Part 2 - Minimum Hardware Requirements...3

More information

Managing Load Plans in OTBI Enterprise for HCM Cloud Service

Managing Load Plans in OTBI Enterprise for HCM Cloud Service Managing Load Plans in OTBI Enterprise for HCM Cloud Service Copyright 2014, Oracle and/or its affiliates. All rights reserved. 1 Objective After completing this lesson, you should be able to use Configuration

More information

NSIGHT ECLIPSE EDITION

NSIGHT ECLIPSE EDITION NSIGHT ECLIPSE EDITION DG-06450-001 _v7.0 March 2015 Getting Started Guide TABLE OF CONTENTS Chapter 1. Introduction...1 1.1. About...1 Chapter 2. New and Noteworthy... 2 2.1. New in 7.0... 2 2.2. New

More information

Standard Edition (SE) application development Enterprise Edition (EE) enterprise development Micro Edition (ME) Internet of Things (IoT) development

Standard Edition (SE) application development Enterprise Edition (EE) enterprise development Micro Edition (ME) Internet of Things (IoT) development Contents 1. Develop your project... 1 1.1. Install the latest version of the Oracle Java SE JDK... 1 1.2. Install the latest documentation for this version of the Oracle Java SE JDK... 3 1.3. Install the

More information

Index. Chaminda Chandrasekara 2017 C. Chandrasekara, Beginning Build and Release Management with TFS 2017 and VSTS, DOI /

Index. Chaminda Chandrasekara 2017 C. Chandrasekara, Beginning Build and Release Management with TFS 2017 and VSTS, DOI / Index A Agent platforms, 10 system and user capabilities, 10 Agent pool add user, 12 assign permissions, 55 56 default pool, 8 hosted Linux pool, 8 hosted pool, 7 set up assign administrator role, 45 auto-provision

More information

Dell EMC ME4 Series vsphere Client Plug-in

Dell EMC ME4 Series vsphere Client Plug-in Dell EMC ME4 Series vsphere Client Plug-in User's Guide Regulatory Model: E09J, E10J, E11J Regulatory Type: E09J001, E10J001, E11J001 Notes, cautions, and warnings NOTE: A NOTE indicates important information

More information

TIBCO LiveView Web Getting Started Guide

TIBCO LiveView Web Getting Started Guide TIBCO LiveView Web Getting Started Guide Contents Introduction... 1 Prerequisites... 1 Installation... 2 Installation Overview... 2 Downloading and Installing for Windows... 3 Downloading and Installing

More information

HPE Security Fortify Plugins for Eclipse

HPE Security Fortify Plugins for Eclipse HPE Security Fortify Plugins for Eclipse Software Version: 17.20 Installation and Usage Guide Document Release Date: November 2017 Software Release Date: November 2017 Legal Notices Warranty The only warranties

More information

VMware AirWatch Integration with RSA PKI Guide

VMware AirWatch Integration with RSA PKI Guide VMware AirWatch Integration with RSA PKI Guide For VMware AirWatch Have documentation feedback? Submit a Documentation Feedback support ticket using the Support Wizard on support.air-watch.com. This product

More information

Continuous Integration & Code Quality MINDS-ON NUNO 11 APRIL 2017

Continuous Integration & Code Quality MINDS-ON NUNO 11 APRIL 2017 Continuous Integration & Code Quality MINDS-ON NUNO BETTENCOURT (NMB@ISEP.IPP.PT) @DEI, 11 APRIL 2017 Continuous Integration - THE THEORY - NMB@DEI - 11 April, 2017 CONTINUOUS INTEGRATION & SOFTWARE QUALITY

More information

We start by providing you with an overview of the key feature of the IBM BPM Process Portal.

We start by providing you with an overview of the key feature of the IBM BPM Process Portal. Lab 1 Process Portal 1.1 Overview This lab exercise will make you familiar with the key capabilities of the ready-to-use Process Portal included with IBM Business Process Manager (BPM). You will experience

More information

Pearson System of Courses (PSC) Deploying PSC with System Center Configuration Manager (SCCM) for Windows

Pearson System of Courses (PSC) Deploying PSC with System Center Configuration Manager (SCCM) for Windows Pearson System of Courses (PSC) Deploying PSC with System Center Configuration Manager (SCCM) for Windows Table of Contents Deployment Process Overview...3 Prerequisites and Assumptions:...4 1. PSC Prerequisites...

More information