Turning Annoyances into Wonders Since Tuesday

Ken Fogel

Subscribe to Ken Fogel: eMailAlertsEmail Alerts
Get Ken Fogel via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by Ken Fogel

Is Eclipse Faster than Netbeans for Arquillian Testing on a Remote GlassFish Server? Part 2 While putting my test code up on GitHub and writing the readme.md, I ran my NetBeans test code on my 2011 early MacBook Pro. To my surprise the times for both embedded and remote testing were between 25 and 35 seconds. My original blog was based on working on a much much faster Windows 8.1 system that took 16 seconds for embedded but 100 seconds for remote. So I guess we blame: Microsoft Windows 8.1 Java on Windows You can download the Eclipse version of the code at: https://github.com/omniprof/JPAJSFGlassFish03Eclipse and the NetBeans version at: https://github.com/omniprof/JPAJSFGlassFish03NetBeans Some very bright people will be looking at the code and hopefully they will have an explanation for why remote server testing on Windows 8.1 performs so badly. ... (more)

Upgrading to Windows 7 – Part Two

With the installation complete it was time to test the critical software I use daily. The first was Microsoft Outlook and as I expected it worked perfectly. So did the rest of the Office suite. Next on my list were the Java environments that I use, Eclipse and NetBeans. First I checked at java.sun.com for newer versions of Java and found a new release 1.6 r15. I downloaded both the 32 bit and 64 bit versions. I uninstalled the version I currently had, 1.6 r13, and then installed the new versions. I installed the 32 bit version first followed by the 64 bit version. Going to a com... (more)

Creating JavaServer Faces Maven Managed Projects with Eclipse

Step 1 Create a project based on my blog “UPDATED Setting up a JEE 6 Web Profile Maven Project in Eclipse using TomEE”. Step 2 Eclipse reveals its special capabilities such as specialized editors based on the project’s facet. As it now stands the project you just created will allow you to create Servlet/JSP applications. You need to add the JavaServer Faces facet to the project. Right-mouse click on the project and select Properties and then select Project Facets. You will see: You now need to add the JavaServer Faces facet version 2.1, change the Java version to 1.7 and unchec... (more)

A New Instance of GlassFish in NetBeans By @OmniProf | @ThingsExpo [#IoT]

Performing this task will resolve a problem that occurs when using NetBeans to configure a JDBC Connection Pool and JDBC Resource for GlassFish. The default installation of NetBeans and GlassFish results in the naming of the JDBC configuration file as sun-resources.xml when it should be named glassfish-resources.xml. This is a Windows only problem. The first step is to install NetBeans if you have not already done so. I recommend the Java EE version. Download and install. All the defaults during install are acceptable. Install GlassFish but it is not necessary to install Tomcat.... (more)

Translating the NetBeans Generated JPA Controller | @CloudExpo [#Cloud]

The NetBeans New File wizards greatly simplify writing boilerplate code. One specific instance is the creation of JPA Controller Classes from an Entity Classes. The class file, or files, written for you will contain all the basic methods of JPA for CRUD operations on the entity or entities that you have. The only small issue is that this class is written for a standalone environment such as what you would find in an environment that does not support Context Dependency Injection. To use this class in a GlassFish environment or other container we have to make some minor changes. W... (more)