Code Monkey home page Code Monkey logo

vs-ws-16-17's Introduction

JMS MessageDrivenBean-Beispiel In dem Beispiel wird eine MessageDrivenBean aufgesetzt, welche als JMS-Listener fungiert. Im folgenden erkläre ich kurz die Schritte, um das Konstrukt zum Laufen zu bekommen:

  1. Wildfly herunterladen und entpacken
  2. Unter folgendem Link den Punkt "Configuration" durchführen: http://eai-course.blogspot.de/2015/03/java-message-service-20-with-wildfly-8.html
  3. Startet über Eure IDE oder per CMD Euren Wildfly mit dem Parameter -c standalone-full.xml (wie auch im Link von Link aus Punkt 2.
  4. Nun Startet Ihr über Eure IDE oder per CMD den Befehl "mvn wildfly:deploy". Wenn der Befehl über CMD ausgeführt wird, müsst Ihr zuerst Maven in Eure Systemumgebung integriert haben und den Befehl im Projektordner ausführen.
  5. Das Projekt sollte nun deployed sein und die Seite http://localhost:8080/vs-ws-16-17/HelloWorld begrüßt Euch mit Hello World!
  6. Die Klasse "Sender" führt eine einmalige Message in Richtung der erstellten Queue aus. Wenn Ihr die Klasse ausführt und den Wildfly-Server beobachtet, seht Ihr, dass dieser die Nachricht empfängt und darauf reagiert.

vs-ws-16-17's People

Watchers

Wilhelm Laschinger 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.