sakibulhasan.info
Hello World REST API on J2EE7 configured JPA MySQL 5.6
http://sakibulhasan.info/hello-world-rest-api-on-j2ee7-configured-jpa-with-mysql-5-6
Hello World REST API on J2EE7 configured JPA with MySQL 5.6. March 12, 2015. Here I have attached code for a very basic REST API application made by J2EE7 which do CRUD operation on a table. The table is in MySQL 5.6 and hosted in Wildfly 8.2.0.Final in Ubuntu 14.04 in an Amazon EC2 server. Before building the application:. 1 Update jta-data-source in persistance.xml file with the one of yours. 2 run the sql that are in src/main/sql folder. Hello world REST API code. Wildfly 8.2.0.Final.
sakibulhasan.info
April 2012 - Sakibul Hasan
http://sakibulhasan.info/2012/04
CSS for Pretty HTML form. April 10, 2012. The default look and feel of HTML form is not that great. Thats why I applied some CSS to prettify the look and feel of HTML forms. Here is the css code:. Input[type=”text”], textarea {. Font-family: Arial, Helvetica, sans-serif;. Border: 1px solid #CDCDCD;. Webkit-box-shadow: inset 0 0 5px #CDCDCD;. Moz-box-shadow: inset 0 0 5px #CDCDCD;. Ms-box-shadow: inset 0 0 5px #CDCDCD;. Box-shadow: inset 0 0 5px #CDCDCD;. Input[type=”text”] {. Border:1px solid #dcdcdc;.
sakibulhasan.info
Wildfly 8.2.0.Final in Ubuntu 14.04 in Amazon EC2
http://sakibulhasan.info/install-and-configure-wildfly-8-2-0-final-in-ubuntu-14-04-in-amazon-ec2
Install and configure Wildfly 8.2.0.Final in Ubuntu 14.04 in Amazon EC2. March 11, 2015. Do the following steps to install and configure Wildfly 8.2.0.Final in Ubuntu 14.04 in Amazon EC2:. 1 Download Wildfly 8.2.0.Final from the wildfly download page download. 2 Upload the file in your Amazon EC2 server user home directory. (i.e. /home/ubuntu). 3 Install zip if you dont have. Unzip the folder using the following command. Command to install Zip:. Sudo apt-get install zip. 4 Open the configuration file:.
sakibulhasan.info
November 2013 - Sakibul Hasan
http://sakibulhasan.info/2013/11
Run Jboss 7.1.1 on background on Ubuntu 12.04. November 28, 2013. Lately I install jboss 7.1.1 on my VPS server (Digital Ocean) in a Ubuntu 12.04 box. Initially I tried to run the following command to run the server on background. Standalone.sh -b 0.0.0.0 &. But when I close my remote connection, it happened to stop my server. Thats why I came up with the following script to run my Jboss 7.1.1 server on background. Shell script to start and stop integrated JBoss/Jett. Export LAUNCH JBOSS IN BACKGROUND=1.
sakibulhasan.info
Run Wildfly 8.2.0.Final in Debug mode
http://sakibulhasan.info/run-wildfly-8-2-0-final-in-debug-mode
Run Wildfly 8.2.0.Final in Debug mode and connect from Eclipse remotely. March 16, 2015. To run Wildfly 8.2.0.Final. In Debug mode start the server using the following command:. Sudo /standalone.sh - debug 8787 -b 0.0.0.0 &. Now to connect the wildfly server remotely to do debugging using Eclipse. Do the following steps:. 1 Select Run Debug Configuration. 2 Right click on “Remote Java Application” and select “New”. Name: Put a name of your choice. 3 Click “Apply” and then “Debug”.
sakibulhasan.info
J2EE Batch and REST application JPA configured MySQL 5.6
http://sakibulhasan.info/basic-j2ee-batch-and-rest-api-application-with-jpa-configured-with-mysql-5-6
Basic J2EE Batch and REST API application with JPA configured with MySQL 5.6. March 13, 2015. Here I have attached code of an application which has very basic example of J2EE Batch and REST (JAX-RS). The Batch application just print some log in the console. The REST API has code to do CRUD operation on a table is in MySQL 5.6 hosted in Ubuntu 14.04 in an Amazon EC2 server. Before building the application:. 1 Update jta-data-source in persistance.xml file with the one of yours. Sparkling Theme by Colorlib.
sakibulhasan.info
jboss 7.1.1 deploy appliction as domain mode - Sakibul Hasan
http://sakibulhasan.info/jboss-7-1-1-deploy-appliction-as-domain-mode
Jboss 7.1.1 deploy appliction as domain mode. November 27, 2013. Edit your file jboss-as-7.1.1.Final/standalone/configuration/standalone.xml. Virtual-server name=”default-host” enable-welcome-root=”true”. Virtual-server name=”default-host” enable-welcome-root=”false” default-web-module=”your-web-app”. Jboss 7.1.1. Always run tomcat in debug mode. Run Jboss 7.1.1 on background on Ubuntu 12.04. Monitor only the last n lines of a log file. Hello World REST API on J2EE7 configured JPA with MySQL 5.6.
sakibulhasan.info
MySQL 5.6 in Wildfly 8.2.0.Final in Ubuntu 14.04 Amazon EC2
http://sakibulhasan.info/configure-mysql-5-6-in-wildfly-8-2-0-final-in-ubuntu-14-04-in-amazon-ec2
Configure MySQL 5.6 in Wildfly 8.2.0.Final in Ubuntu 14.04 in Amazon EC2. March 12, 2015. Follow the steps to configure MySQL 5.6 in Wildfly 8.2.0.Final in Ubuntu 14.04 in Amazon EC2:. 1 Download the latest JDBC driver for MySQL from MySQL download site. 2 Go to your module folder in Amazon EC2 server. Cd /home/ubuntu/wildfly-8.2.0.Final/modules. 3 Create mysql/main directory hierarchy. 4 Create module.xml in the newly created “main” directory. 5 Put the following code in module.xml. 9 Now go to your Wil...
sakibulhasan.info
April 2015 - Sakibul Hasan
http://sakibulhasan.info/2015/04
Monitor only the last n lines of a log file. April 6, 2015. Use the following command to monitor only the last n lines of a log file:. Tail -n 15 -F mylogfile.txt. To displays the last n lines and get rid of the lines before the last n after it has been updated, use following command:. Watch tail -n 15 mylogfile.txt. Monitor only the last n lines of a log file. Run Wildfly 8.2.0.Final in Debug mode and connect from Eclipse remotely. Hello World REST API on J2EE7 configured JPA with MySQL 5.6.
sakibulhasan.info
May 2013 - Sakibul Hasan
http://sakibulhasan.info/2013/05
Always run tomcat in debug mode. May 9, 2013. File in bin folder. 1 add following lines at the beginning of other uncommented line. Export JPDA TRANSPORT=dt socket. 2 add jpda in exec line. Exec “$PRGDIR”/”$EXECUTABLE” jpda. Start “$@”. 3 from command line run ./startup.sh. Monitor only the last n lines of a log file. Run Wildfly 8.2.0.Final in Debug mode and connect from Eclipse remotely. Basic J2EE Batch and REST API application with JPA configured with MySQL 5.6. On CakePHP Database Convention.