Latest News

Date Item
2014-07-10 02:10:20.0
Nick Ruta
How to Change the Mac OS X Screenshot Capture Save File Location
Taking a lot of screenshots consecutively made confusion on the Desktop! If you want to save the screenshots to another location, other than the desktop, execute these two commands in the ‘Terminal’ app (just change the directory to whatever you like) - 1. defaults write com.apple.screencapture location /Users/YourUsernameHere/Desktop/AnyDirectoryYouLike/ 2. killall SystemUIServer
2014-07-06 21:37:43.0
Nick Ruta
How to Pass Java EE 6 Web Services Developer 1Z0-897 Exam
Last Monday, I passed the Java EE 6 Web Services Developer exam. This exam along with the required certifications Oracle Certified Professional, Java SE 7 Programmer and  Oracle Certified Associate, Java SE 7 Programmer grant the title of Oracle Certified Expert, Java EE 6 Web Services Developer. This three certification track was a journey that took […]
2014-06-22 20:35:49.0
JavaVids
How to solve Source not found error during debug in Eclipse
If you run your web application using embedded Java EE server in Maven (like Tomcat or Jetty) and try to run it in debug mode, once you hit some breakpoint, you will encounter this error: "Source not found".
2014-06-16 20:59:43.0
JavaVids
JAXB: Access Restriction Warning
How to solve "Access restriction: The type JAXBContext is not accessible due to restriction on required library"?
2014-06-16 20:57:04.0
JavaVids
JAXB and OutOfMemoryError
How to solve two common reasons for OutOfMemoryError, which you may encounter using JAXB.
2014-06-16 20:50:58.0
JavaVids
Creating JAXB classes from scratch
If you have XSD file, the easiest way how to create JAXB classes is to generate them. If you don't have XSD, you can just simply write them from scratch.
2014-06-16 20:43:19.0
JavaVids
Generating JAXB classes with Maven plugin
How to generate JAXB classes based on XSD file automatically using Maven?
2014-06-16 20:40:56.0
JavaVids
Generating JAXB classes in Eclipse from XSD
How to easily generate JAXB classes in Eclipse?
2014-05-16 22:24:37.0
Nick Ruta
The Big 5 Web Services Security Requirements
A secure Web Service should support these five security requirements to assure the safety of the information exchange - Authentication - the verification of the claimant’s entitlements to use the claimed identity and/or privilege set. Authorization - the granting of authority to an identity to perform certain actions on resources Integrity - the assurance that […]
2014-05-14 22:07:24.0
Nick Ruta
How Do I uninstall Java SE 8 on Mac OS X Mavericks?
In Order to uninstall Java SE 8 on Mavericks, doing the following three steps using the Mac Terminal app -      sudo rm -rf /Library/Java/JavaVirtualMachines/jdk<version>.jdk      sudo rm -rf /Library/PreferencePanes/JavaControlPanel.prefPane      sudo rm -rf /Library/Internet Plug-Ins/JavaAppletPlugin.plugin
2014-05-14 18:27:30.0
Nick Ruta
Should I use a REST or SOAP Web Service?
When creating a Web Service, both the SOAP (Simple Object Access Protocol) and REST (Representational State Transfer) approaches will work. The difficulty is in making the deicison of which will be the best in a particular case. In order to pick one, it helps to focus on the key advantages and disadvantages of each type […]
2014-05-13 21:17:23.0
Nick Ruta
Should I use 32 or 64 bit Eclipse for OSX Mavericks?
Use the 64 bit version. If, for example, you are installing Eclipse IDE for Java EE Developers then use the option for "Mac OS X(Cocoa 64)". The 64 bit version will be faster. Mac OSX Mavericks automatically supports 64 bit applications.
2014-04-24 13:27:49.0
JavaVids
Spring web app tutorial 51: Spring Profiles and PostgreSQL DB
How to use Spring Profiles to distinguish between development and production environment. How to use Heroku PostgreSQL database. This is the last video in "Java blog aggregator" series.
2014-04-24 13:26:36.0
JavaVids
Spring web app tutorial 50: Heroku
How to upload your WAR file to Heroku and have your web. application up and running on your custom domain.
2014-04-24 13:25:58.0
JavaVids
Spring web app tutorial 49: maven package
How to create WAR file in Eclipse using Maven package.
2014-04-23 19:00:37.0
JavaVids
Spring web app tutorial 48: Java blog aggregator homepage
Creating Java blog aggregator homepage with items from database ordered by published date in descending order.
2013-12-21 14:05:21.0
Nick Ruta
How to Pass the OCPJP SE 7 1Z0-804 Exam
Earlier today, I passed the Java SE 7 Programmer 2 exam. This is the second and final step to becoming a Oracle Certified Professional, Java SE 7 Programmer. Here is how I prepared for the exam and some test taking tips that helped me pass with ease. Prior to taking the exam, I had about […]
2013-07-14 21:27:03.0
Nick Ruta
How to avoid NullPointerException in Spring using SpEL Expressions
  Imagine that you have a foodSelector bean which has a selectFood() method associated with it that returns a type of food. <property name="food" value="#{foodSelector.selectFood()}"/> Now suppose that you want the food that is returned to be in all lowercase. All you need to do is invoke the toLowerCase() method on the String value you’re given: <property name="food" value="#{foodSelector.selectFood().toLowerCase()}"/> […]
2013-07-04 20:44:42.0
Nick Ruta
How To Access MAMP MySQL From Terminal
Problem – You tried to access MySQL from Terminal and got the following error - 'ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)' Solution – The problem is that the location of mysql.sock and where MAMP thinks the location is are different by default. To fix the problem, simply run […]
2013-06-22 01:00:55.0
Nick Ruta
How to Pass the OCAJP SE 7 1Z0-803 Exam
Earlier today, I passed the Java SE 7 Programmer 1 exam. This is the first step to becoming a Oracle Certified Professional, Java SE 7 Programmer. Here is how I prepared for the exam and some test taking tips that helped me pass with ease. Prior to taking the exam, I had no experience with […]


© Nick Ruta