How to update sun jdk 7 on Ubuntu 12.04
Oracle has released JDK 7 Update 6 with JavaFX 2.2 Final for GNU/Linux, Mac OS X and MS Windows last week. I have already written how to install Sun JDK 6-7 on Ubuntu 12.04. I want to write how to...
View ArticleInjectable Logger with CDI
In my Java EE projects I don’t like logger configuration in every classes such as below: private Logger logger = Logger.getLogger(this.getClass().getName()); I want to use with @Inject annotation....
View ArticleKernel updates and grub settings in Ubuntu
Ubuntu tips for Linux kernel updates and grub settings: I always try to install Ubuntu security or Linux kernel updates. But sometimes I get problems with graphics drivers and Linux kernels because my...
View ArticleBase entity class in JPA
In Hibernate/JPA entities there are repeated fields and methods. Don’t repeat yourself and write a base class with @MappedSuperclass. BaseEntity one: Minimal options Common fields: id: Table Id...
View ArticleMy Ubuntu development pc: installation and settings
I use Ubuntu GNU/Linux daily with my development pc and these are just installation and setting notes for me. These may also be helpful for you, if you are even software developer. Ubuntu installation...
View ArticlePractical notes of RESTful API design
Coding Style in RESTful: JSON: JavaScript naming conventions: camelCase Rest clients in Java: camelCase Rest clients in Python and Ruby: snake_case RESTful Mapping: GET /customers => Retrieves a...
View ArticleCustomers Java Swing Application with Source Code
I have developed the Customers Java Swing Application Demo. This application may be useful for developers who want to use Flamingo, Substance and SwingX. Technology stack: JDK 7 Java Swing Components...
View ArticleInstall jdk 8 on Ubuntu
Ubuntu versions: Ubuntu GNU/Linux 14.04 (Trusty Tahr) Ubuntu GNU/Linux 13.10 (Saucy Salamander) Ubuntu GNU/Linux 13.04 (Raring Ringtail) Installing Oracle JDK 8 on Ubuntu: Download the Oracle JDK 8...
View ArticleWi-Fi connection problem on Ubuntu 14.04
I have installed Ubuntu 14.04 (Thusty Tahr) and Wi-Fi scans the networks and connects correctly, but Mozilla Firefox or Google Chrome can’t open websites. It works with cable connection trouble-free....
View ArticleGet last order number with PostgreSQL trigger
In multi user applications it is not easy to serve a unique order or invoice numbers for each save process. You should check carefully several times on every database insert. But with database triggers...
View Article