Deploying the Java Application

In order to deploy the Java application, you need to perform several steps:

  1. Open a command prompt and navigate to the CoherentBank\java directory.
  2. Edit build.properties file to reflect your environment.
  3. Start the H2 database:
    > ant start-db-server
    

    If everything goes well, the H2 console should open in the browser. You can log in by changing the JDBC URL to jdbc:h2:tcp://localhost/db/coherent-bank-db, setting the username to sa, and clicking the Connect button.

    Deploying the Java Application

    There will be no tables there at first, which will be corrected shortly.

  4. Start the web application:
    > ant web-app
    

    This should run the SQL script to create necessary ...

Get Oracle Coherence 3.5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.