About luv2admin

This author has not yet filled in any details.
So far luv2admin has created 164 blog entries.

Java IDEs: Which IDE is in Most Demand in the Job Market?

Hi All, A lot of new students ask me which Java IDE should they use. Eclipse, IntelliJ, NetBeans etc. My answer is ... which ever tool you are comfortable with and most productive. However, I also tell them to pick an IDE that is in demand in the job market. Now granted, another IDE may be better on technical merits, [...]

By |2017-06-10T10:55:56-04:00June 10, 2017|Java|2 Comments

JMS Tutorial Resources

Hi All, I've had a number of students ask me about Java Message Service (JMS). They are eager to learn how to send/recieve messages using JMS. I've put together a list of free tutorial resources. Enjoys! JMS Tutorial from Java EE 7 Tutorial https://docs.oracle.com/javaee/7/tutorial/jms-concepts.htm#BNCDQ JMS Tutorial with ActiveMQ https://dzone.com/articles/jms-activemq And, if you are interested in using JMS with Spring then [...]

By |2017-06-01T10:52:49-04:00June 1, 2017|Java, jms|Comments Off on JMS Tutorial Resources

Free Maven Resources: eBooks, ref manual, videos

  Maven is a popular Java build tool. It helps you build your software by downloading any required JAR files that you may need.   Here are some free resources to help you learn Maven.   Maven Quick Reference Card Source: Apache Maven Team - https://maven.apache.org/ guides/ MavenQuickReferenceCard.pdf --- Maven Video Tutorial (10 videos) Source: JavaBrains - Koushik - https://www.youtube.com/watch? [...]

By |2016-11-30T20:31:04-05:00November 30, 2016|Maven|Comments Off on Free Maven Resources: eBooks, ref manual, videos

How To View Hibernate SQL Parameter Values

When using Hibernate, if you log the Hibernate SQL statements, you will see this: Hibernate: insert into student (email, first_name, last_name, id) values (?, ?, ?, ?) However, for debugging your application, you want to see the actual parameter values in the Hibernate logs. Basically, you want to get rid of the question marks in the Hibernate logs. You can [...]

By |2016-07-05T18:27:50-04:00July 5, 2016|Hibernate, How-To, Java|Comments Off on How To View Hibernate SQL Parameter Values

JDBC and MySQL: Getting rid of the dreaded message – WARN: Establishing SSL connection without server’s identity verification is not recommended

When connecting to a MySQL database, you may encounter this scary warning message. Thu Feb 04 14:49:25 IST 2016 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate [...]

By |2016-05-20T20:34:58-04:00May 20, 2016|How-To, Java, JDBC, MySQL|Comments Off on JDBC and MySQL: Getting rid of the dreaded message – WARN: Establishing SSL connection without server’s identity verification is not recommended

JSF: Handling Dates in JSF Forms

In this article, I show you code examples on how to handle dates in JSF forms. The project consists of three files: - StudentTest.java - student_date_test_form.xhtml - student_date_test_response.xhtml The user enters the student data into the form: first name, last name and hire date. The input format for the hire date is day, month, year. As an example For 1 [...]

By |2016-05-03T10:40:52-04:00May 3, 2016|JavaServer Faces (JSF)|Comments Off on JSF: Handling Dates in JSF Forms

JDBC BLOB: Handling large file sizes

JDBC has support for storing binary files in the database using the BLOB datatype. I covered this in a previous blog post: Reading and Writing BLOBs with MySQL. However, you may run into errors if you need to store large files. In particular, you may encounter the following error messages: Packets larger than max_allowed_packet are not allowed. Data too long [...]

By |2015-10-27T09:38:20-04:00October 27, 2015|How-To, Java, JDBC, MySQL|Comments Off on JDBC BLOB: Handling large file sizes

JSF: Setting itemLabel with selectItems

JSF provides UI components for drop-down lists. Drop-down lists are called selectOneMenu in JSF. When you use the components, you may have the requirement to use different values for the itemLabel and itemValue. You can accomplish this by making use of a Map collection (java.util.Map). The Map collection is a collection of key-value pairs. In JSF, you provide a reference [...]

By |2015-10-13T16:56:32-04:00October 13, 2015|How-To, JavaServer Faces (JSF)|Comments Off on JSF: Setting itemLabel with selectItems
Go to Top