Welcome!

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

After building my environment for JavaServer Faces in the Eclipse IDE it was time to move onto NetBeans. It should be simple, I thought. I was very, very wrong. NetBeans Step 1 Create a new project for Maven->Web Application. Fill in the usual details about the Maven project. When complete and the project appears immediately edit the pom.xml file and replace the section that starts with until the end with the contents from my pom.xml file from my previous blog posts. At this point the project is ready for you to write your code. Or so I thought . . . NetBeans revealed a flaw in my pom.xml file. In Eclipse the classpath of a Maven project includes the server’s library. This makes the TomEE lib folder’s jar files available to Eclipse. This is not the case with NetBeans. When it handles a Maven based project it expects all references to libraries to ... (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)

My First Week With the Amazon Kindle

Amazon EC2 Session at Cloud Expo New York I received an Amazon Kindle for Xmas. It wasn’t a surprise as I put it on the Xmas list my family insisted I provide. My wife had me order it with her credit card to make sure it was exactly what I wanted. The order was placed at the beginning of December to ensure it would arrive on time. It took just four days to arrive here in Montreal from Amazon in the US. Originally I had the Sony PRS-600 reader on my list. I made the list in mid-November and the Kindle was not available in Canada. But at the end of November Amazon announced it would... (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)

Is Eclipse Faster than NetBeans? By @OmniProf | @DevOpsSummit [#DevOps]

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/o... (more)