GithubHelp home page GithubHelp logo

javaee-spring-tutorial's Introduction

Integration architecture with Java EE and Spring

Markus Eisele (Lightbend), Josh Long (Pivotal)

1:30pmโ€“5:00pm Monday, 04/11/2016

Integration architecture

Location: Sutton

O'Reilly Software Architecture Conference NYC 2016 tutorial website

Preparation

This section describes what, how, and where to install the software needed for this lab.

Hardware

Operating System: Windows 7 (SP1), Mac OS X (10.8 or later), Fedora (21 or later) Memory: At least 4 GB+, preferred 8 GB

Software

Maven

  • Download Apache Maven from the Internet
  • Unzip to a directory of your choice and add it to the PATH.

Install and configure WildFly

WildFly 10 is the latest release in a series of JBoss open-source application server offerings. WildFly 10 is an exceptionally fast, lightweight and powerful implementation of the Java Enterprise Edition 7 Platform specifications. The state-of-the-art architecture built on the Modular Service Container enables services on-demand when your application requires them.

Simply extract your chosen download to the directory of your choice (we call it +%JBOSS_HOME+). You can install WildFly 10 on any operating system that supports the zip or tar formats. Refer to the Release Notes for additional information related to the release.

Change directory to $JBOSS_HOME/bin.

You're going to need to run it using the full, not web, profile configuration. For the easiest experience, rename $JBOSS_HOME/bin/wildfly/standalone/configuration/standalone-full.xml to $JBOSS_HOME/bin/wildfly/standalone/configuration/standalone.xml.

Open the standalone.xml and find urn:jboss:domain:messaging-activemq:1.0. There, you'll see a server element and inside that a security-setting element. Let's make life easier for ourselves and disable security for this lab. Add the following ABOVE the security-setting element:

<security enabled="false"/>
<cluster password="${jboss.messaging.cluster.password:guest}"/>

Add two queues to work with for our example:

<jms-queue name="spring" entries="java:/jms/queue/spring"/>
<jms-queue name="xa-spring" entries="java:/jms/queue/xa-spring"/>

Save your changes and then, in the $JBOSS_HOME/bin directory, start Wildfly:

./standalone.sh

Open another console and add a management user:

./add-user.sh
  • a) Management user
  • User: "admin"
  • Password: "admin"
  • Answer "yes" (don't do this in production)
  • Re-enter Password: "admin"
  • hit return (no groups)
  • enter "no"

As with previous WildFly releases, you can point your browser to http://localhost:8080 (if using the default configured HTTP port) which brings you to the Welcome Screen.

If you run into problems, refer to the complete getting started guide and verify that you completed all necessary steps.

javaee-spring-tutorial's People

Contributors

joshlong avatar myfear avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.