Monday, 26 June 2017

SSL with Embedded Tomcat without Spring Boot


In previous post, we have talked about how to have embedded tomcat without spring boot, now let see how to  enable SSL with embedded tomcat.

Sunday, 18 June 2017

Spring with Embedded Tomcat without Spring Boot


Because of service-oriented architecture style, instead of a monolithic application , you may have several independent applications can run on their own.Let's see how to have a Spring powered standalone application with embedded Tomcat without Spring boot.


Tuesday, 6 June 2017

Reverse Engineering : Generate Java Persistence Entity from Database

If there is already an existing database , then we could use some reverse engineering tool to automatically generate java persistence entity classes.

You may find below 2 ways from internet :
1. hibernate*-maven-plugin
2. IDE based reverse engine tools

This post would show you how to do it programmatically.



Sunday, 4 June 2017

Run Spring as Standalone Application Without Spring Boot



It seems that nowadays most of sample codes provided by https://spring.io/blog are all done with Spring Boot, so this post would show you how to write a standalone application with Spring and without Spring Boot.

Thursday, 11 May 2017

Wednesday, 22 March 2017

Tomcat Datasource Username Password Encryption

You may refer to (https://tomcat.apache.org/tomcat-8.0-doc/jndi-datasource-examples-howto.html) for details of how to configure a JDBC data source and use it in a web application, this post is going to talk about how to secure database user name and password in the datasource configuration.



Sunday, 13 November 2016

Let AWS Manage Domain Purchased from GoDaddy


After you purchased a domain from GoDaddy, you would actually let your application hosting service to manage your domain.

Flag Counter