Reputation: 1162
I have a non-web app maven project which relies on Kafka which is my message queue. now in order to do computation on incoming messages I need to run 4 JAR files concurrently. How can I use JRebel in this case so I can change my code and I don’t have to recompile those JAR files every time and run it again?
Any help would be appreciated.
Upvotes: 1
Views: 194
Reputation: 1985
Easiest is to setup JRebel using an IDE. JRebel has plugins for IntelliJ, Netbeans and Eclipse all of which can also set up IDE run configurations automatically.
However, it's also possible to prepare your jar-s with JRebel maven plugin.
If you want to run your JAR-files from command-line then IDE plugins contain instructions in JRebel settings > Startup > Run using CLI > Standalone application. Alternatively, you can find more general CLI instructions here.
Upvotes: 2