Advanced Java Programming

Image
                          Advanced Java Programming Advanced Java Programming :-   Introduction to advance java   As most of us already know that if we want to make normal applications it  can be easily built using core Java concepts. But, when it we need to develop web applications, advanced Java fundamentals, like JSP, Servlets, JDBC etc. needed, so to add capabilities and features of the application advance java is essential for developers. Through the motive of this blog is to explain about Advanced Java, I will be giving you a complete insight into the fundamental concepts of Advance Java. Figure - 1.2 If you want to see complete video on this please  have a look the video below.                              Learn with Resh u Advanced Java Programming Course Figure - 1.3 I hope you understood by the slide why Advanced Java is essential. For your better understanding, I have divided this article int

Enabling Remote Debug

Enabling Remote Debug on Windows and Linux machine using Jboss on localhost or any server.

Set up the debugger


Here i will explain some steps to enable Remote Debug in jboss 6 and 7 versions.
First i will explain how we enable Remote debug in windows for jboss 6 and 7 using Intellij.


  • We need to uncomment the line edit run.conf.bat as shown above.
  • If we need to do this operation in linux then the only thing we need to do is edit same thing in run.conf file in bin folder in jboss home catalog.
  • and then restart the jboss server it can be jboss 6 
  • go to intellij click on Run->Edit Configuration.
  • In the Run/Debug Configurations dialog, click the Add New Configuration button icons.general.add.svg and select Remote

                       The Add New Configuration button in the top-left corner of the Run/Debug Configurations dialog


  • Configure/use the following properties:
    • Name: configure how this run configuration will be called. The name can be anything, including the default value.
    • Host: the address of the machine where the host app will run. Since we are running it on the same machine, it needs to be localhost or 127.0.0.1.
    • If the program was running on another machine, we would specify its address here, for example: 193.165.16.48.
    • You can place host dns or ip address or directly put the url here and the in Port place the port you have chosen for remote debug in run.conf.bat file. Here i have choose 8787 default port.
    • Command line arguments for remote JVM: the VM options that the host application needs to be started with. We will use them in the other run/debug configuration. You can copy them now or get back to this field later.


  • Click Apply.


  • Run this as debug mode. and you are done.
Now if you got this massage in intellij thats means its working. 



Now to check if its working place a breakpoint in the code and try to run the url in google chrome if you breakpoint is reached that means everything is working.


Recommended Posts:

·       Overriding in Java
·       Overloading in Java
·       Interfaces in Java
·       Loops in Java
·       Variables in Java

Advanced Java Programming

         Abstraction in Java
·       Encapsulation in java
·       What is Java



Comments

Popular posts from this blog

Advanced Java Programming

Updating version numbers of modules in a multi-module Maven project