Access Wildfy Remotely via Web Browser

This article is specifically written to describe how to access a management console of Wildfly version 10 from a Web Browser remotely. Access Wildfly Remotely via Web Browser means the service of Java Application Server reside in another server. So, in order to be accessed, the Wildfly Java Application Server must be configured further so that it can be accessed remotely.

By default, Wildfly Java Application Server start locally and can only accept incoming request locally. So, how an Wildfly Java Application Server configured so that it can be accessed remotely ?. Below are steps which is considered an important thing be done or to be executed in order for a Wildfly Java Application Server can be accessed remotely :

Continue reading “Access Wildfy Remotely via Web Browser”

Changing Java Executable Program Using alternative Command in Linux

Operating System            :  CentOS 7

Java                                  : JDK 1.8.0_91

In order for several utilities or programs to run normally some of them need to be executed on top of Java Runtime Environment. Sometime we need to install different version of Java Runtime Environment from the one which has already installed as default Java Runtime Environment in order for those utilities or programs run well.  Below is the step which has to be done :

  1. First of all, we have to install Java Runtime Environment which I preferably do that by downloading portable compressed file of Java Standard Development Kit which is provided from the official site of Java available. In the past, I usually visit Sun Microsystem’s website to look for the compatible JDK, but nowadays since the Sun Microsystem’s acquisition by Oracle has already happened, the official JDK can now be found in Oracle’s official website.  Normally, I put all utilities or program which is installed by extracting it in /opt,  so the command for installing Java Runtime Environment which also regularly come as a package with Java Development Kit.

Continue reading “Changing Java Executable Program Using alternative Command in Linux”

Displaying List of Project in Project Explorer of Eclipse IDE

Eclipse Version  : Eclipse Mars 2

With Eclipse Mars 2 as the Java IDE used in the development of Java based systems or applications, we will work with those systems or applications which is called project as a term used in Eclipse IDE. Below is how to display the list of project exists or maintained in our local PCs or laptops.

To be able to show it as a pane which is called the Project Explorer pane, we have to access the following menu in the Eclipse IDE : Window > Show View > Project Explorer as shown below :

Continue reading “Displaying List of Project in Project Explorer of Eclipse IDE”

Deploying EJB Jar File to Wildfly Application Server from Eclipse

Deploying EJB Jar File to Wildfly Application Server from Eclipse Mars 2

IDE    : Eclipse Mars 2

Application Server : Wildfly 10

1. First of all, the installation of Eclipse IDE is certainly necessary. The steps of the installation of Eclipse IDE can be shown in the following link. The version of Eclipse IDE is Eclipse Mars 2.

2. There are lots of requirements which has to be fulfilled. The first one is installing the JRE (Java Runtime Environment) in the Eclipse IDE.

3. Go to the Package Explorer of the running Eclipse IDE. Display the Server tab view by accessing the following menu :

Window > Show View > Other … . And after that choose server as shown below :

Continue reading “Deploying EJB Jar File to Wildfly Application Server from Eclipse”

Creating EJB Project in Eclipse Mars 2

Eclipse version                  : Mars 2

Creating an Empty EJB Project in Eclipse Mars 2

There are several types of project which can be chosen in Eclipse IDE. In  this context, I am using Eclipse Mars 2. Below is the step which is used to create an empty EJB project :

  1. Run the Eclipse IDE first. And access the following menu

Window > Show View > Package Explorer

01-simple-ejb-calculator-show-perspective-package-explorer
Displaying menu Window > Show View in one of the menu available in Eclipse Java IDE.
  1. The next step is to create New Project which is shown as follows :

Click the menu which is displayed in the above New  > Other …

02-simple-ejb-calculator-add-project
Accessing menu New > Project to create a new Project in Eclipse Java IDE.

Continue reading “Creating EJB Project in Eclipse Mars 2”

Configuring Wildfly 10 Java Application Server in Eclipse Mars 2

Eclipse version                                  : Mars 2

To be able to deploy and execute Java related systems or applications within an IDE and in this context is Eclipse IDE (Integrated Development Environment), first of all we have to install the Application Server.

Below is how we install it and integrate it with Eclipse Mars 2.

  1. Make sure you have already installed Eclipse Mars 2. For more information on installing on Eclipse Mars 2, you can visit the following link.
  1. You need to install and configure JRE runtime so it can be used for Wildfly Java Application Server to be launched and any other processes which is needed to be executed internally in Eclipse IDE such as compilation, program execution, deployments. In order to do it, we can check the following link.
  1. You also have to finish installing and to be able to run the Wildfly Java Application Server. For more information on installing and running the Wildfly Java Application Server, you can visit the following link.

Continue reading “Configuring Wildfly 10 Java Application Server in Eclipse Mars 2”

Adding and Configuring Installed JRE in Eclipse IDE

In the Eclipse IDE, as an Integrated Development Environment for Java programming language, it is important for Java developer to be able to execute, to run or even to deploy the systems or the applications which is being developed from inside the Eclipse IDE itself.

But to be able to perform those tasks, first of all we have to configure Java Runtime Environment in Eclipse IDE as follows :

  1. Access the menu which exists in Eclipse IDE as follows :

Window > Preferences

00-add-new-server-wildfly-preferences-menu
Selecting menu Window > Preferences inside Eclipse Java IDE.

Continue reading “Adding and Configuring Installed JRE in Eclipse IDE”