Unit Testing Java Email Code with Fake SMTP Server

What is your testing strategy for sending emails from your Java application? Do you hard-code your developer email in the application? I've been there and done that (not too proud though). Ideally, you would like to use the actual email addresses in your testing process. However, you do not want to send the email to the actual recipient. You would [...]

By |2012-05-10T08:11:12-04:00May 10, 2012|Agile, Java, JavaMail, JUnit, Test Driven Development|Comments Off on Unit Testing Java Email Code with Fake SMTP Server

Configure SSL on GlassFish with GoDaddy Certificate: GlassFish 2 and GlassFish 3

This page describes the steps for setting up SSL on a GlassFish server. The SSL Certificate used is a GoDaddy certificate. If you are using a different CA then the steps should be similar. These steps apply to GlassFish 2 and GlassFish 3. Preliminary Steps: Backup your directory: <glassfish_install>\domains\domain1\config Stop the GlassFish server The following fields will change based on [...]

By |2012-05-09T15:33:21-04:00May 9, 2012|Glassfish|2 Comments
Go to Top