provides software and services that enable enterprises
Live Chat 1-888-673-6564
The Enterprise Open Source Blog
  • Home
  • Search
  • Contact Us
  • Products and Support
  • Services
  • Enterprise OSS Blog
  • Wazi Technical Blog
  • Resources Library
  • Cloud Services
  • Partners
  • Customers
  • Community
  • Company
  • Careers
  • News and Events

Subscribe by Email

Your email:

Most Popular Posts

  • Enterprise Apache Tomcat 7 Clustering - Designing an Efficient, Reliable and Productive Application Server Cluster
  • Open Source Virtual Whiteboards and Dimdim Review
  • An Enterprise Apache Tomcat Clustering Guide
  • Supporting CentOS In The Cloud With Windows Azure
  • VLC License Change: A lesson in perseverance
  • An In-Depth Look at Tomcat’s Clustering Mechanisms
  • Apache HTTP Server: New Features for Version 2.4
  • Why Closed Source is Better Than Open Source
  • Access Serial Ports through Ruby
  • Building Bots With Kids

Current Articles | RSS Feed RSS Feed

Embracing Open Source Software for Your Developer's Sake

Posted by Jeff Gran on Wed, Oct 31, 2012
  
Email This Email Article  
Tweet  
  

As a developer at OpenLogic, I use open source software every day on the job. In fact, without a second thought I can go so far as to say my job wouldn't be possible without open source. But that's not the only reason I love it.

Read More

0 Comments Click here to read/write comments
Tags: Open Source Management, DevOps

Why is Somebody's Open Source Software in My Beautiful Code?

Posted by Glen Bettridge on Wed, Sep 26, 2012
  
Email This Email Article  
Tweet  
  

In my last article, "3 and a Half Reasons You Really Need to Scan for Open Source Software", I argued that most development teams might discover open source code in their projects, even when they're not intentionally using any OSS. In the next few articles, I'd like to explore how projects can end up using OSS intentionally and unintentionally.

Read More

0 Comments Click here to read/write comments
Tags: Open Source Management, DevOps

Is My Open Source Software Outdated - A Tactical Perspective

Posted by Eric Weidner on Mon, Sep 24, 2012
  
Email This Email Article  
Tweet  
  

The short answer is that your Open Source is always outdated. Rod Cope wrote a post recently on strategically watching for your Open Source becoming obsolete and looking for new trends to consider. However, you are likely already using tens or hundreds of Open Source packages daily and these packages are constantly updating, adding new features, increasing performance and fixing bugs. It is very important to keep aware of how the underlying technologies are changing and keep up to date to avoid headaches in the future when massive upgrades are required to play catch-up.

Read More

0 Comments Click here to read/write comments
Tags: Open Source Trends, DevOps, Open Source Software Adoption, Agile

An Enterprise Apache Tomcat Clustering Guide

Posted by Andrew Carr on Fri, Aug 03, 2012
  
Email This Email Article  
Tweet  
  

What are your options?

In determining your configuration you must evaluate the resources at hand.  This section will discuss possible options for your resources, without actually taking your resources into consideration. The next section will make suggestions as to which configurations your company may leverage depending on the resources available.

Read More

0 Comments Click here to read/write comments
Tags: Open Source Management, DevOps, Support

Open Source Software in the Enterprise: A Shift in Prevailing Views

Posted by Tim Golden on Wed, Aug 01, 2012
  
Email This Email Article  
Tweet  
  

Today’s guest post is by Tim Golden*

Tim has 26 years of Enterprise IT experience, is an open source software consultant and serves as a board member and customer advisor to several open source software companies, including OpenLogic. 

_________________________________________________________________________ 

Read More

0 Comments Click here to read/write comments
Tags: Open Source Management, Open Source Trends, DevOps, The Cloud

Microsoft Embracing Openness with Windows Azure

Posted by Eric Weidner on Wed, Jul 04, 2012
  
Email This Email Article  
Tweet  
  

Microsoft continues to be a lightning rod for controversy in the open source communities. A quick Google search (microsoft open source) shows the breadth of opinions on Microsoft's open source involvement.

Read More

0 Comments Click here to read/write comments
Tags: Open Source Trends, DevOps, The Cloud, Cloud

How Do I Know When My Open Source Software is Outdated?

Posted by Rod Cope on Mon, Jul 02, 2012
  
Email This Email Article  
Tweet  
  

Like you, developers and architects around the world rely on open source packages every day.  But how do you know when they’re getting stale or obsolete?  Where do you look to find better, newer alternatives to the projects you’re using today?  How often should you go looking around for upgrades?  Let’s take a look at some best practices that will keep you on well-supported packages for the life of your project.  

Read More

0 Comments Click here to read/write comments
Tags: Scanning, Open Source Trends, DevOps

An In-Depth Look at Tomcat’s Clustering Mechanisms

Posted by Andrew Carr on Wed, Jun 27, 2012
  
Email This Email Article  
Tweet  
  

This post is part 1 of a 3 part blog series that will look at leveraging Apache Tomcat clustering, in order to increase your system’s availability.

Read More

0 Comments Click here to read/write comments
Tags: DevOps, Support, OSS Packages

Kanban and Back Again: Lessons Learned in the Continuous Search for Agility

Posted by Freddy Andersen on Wed, May 23, 2012
  
Email This Email Article  
Tweet  
  

As part of our ongoing search to improve the way we deliver software, we recently tried Kanban on a new development effort.  Ultimately, we ended up taking some of the positive aspects and going back to more Scrum-like process, but the effort was very worthwhile.  OpenLogic has been using agile practices for many years now. Like most  things, the results are cyclical. Get comfortable for a while and then something changes and forces a period of adjustment. Thus it is important to continually review in order to recognize when change happens that affects processes (and let's face it, change happens very quickly in this industry). Luckily, as engineers, we embrace change.  We had the opportunity to look at a radical shift  in our agile processes due to starting new development on our CloudSwing product and Kanban fit with some of the ideas we had been discussing. CloudSwing gave us the ability to try out these new ideas without incurring some conversion costs for our much larger codebases.

Read More

0 Comments Click here to read/write comments
Tags: Software Development Lifecycle, Open Source Trends, DevOps

HtmlUnit for Testing and More!

Posted by Aaron Mandelbaum on Thu, May 17, 2012
  
Email This Email Article  
Tweet  
  

If you are a web application developer and have never heard of HtmlUnit , it is time to give it a look.

It is a simple API that allows you to write a Java program that can simulate a user traveling through a website. It doesn’t just read the URL into an input stream; it can parse the HTML and allows you to simulate clicking on buttons, clicking on links, firing JavaScript functions, and more.

HtmlUnit for testing

HtmlUnit was intended to be used for UI testing. For example, let’s say you host an eCommerce Java EE application. In order to perform some testing, you would want to simulate the entire life cycle of a user creating an account, verifying the account, logging in, filling up their shopping cart, and paying for the items.

Normal Java testing methods use JUnit and only test the the back-end Java code that runs on the server. This is fine and dandy, but that is not how the user uses the website. You need to use a UI test in order to truly test. While testing the back-end is extremely valuable and should never be forgotten, you are potentially not testing several key things that can only be tested using the actual browser.

For example, here are some issues that cannot be tested on the back end:

    • When trying to view the shopping cart, a JavaScript Error occurred and prevented the cart from loading.

    • When attempting to make a payment, the user’s session was invalidated and they were brought to the log in screen.

    • The "Check Out" button was disabled when it was not supposed to be.


JUnit and HtmlUnit can be used in combination extremely effectively. You can create assertions on each Html element returned from each page within the web session.

And it also lets you pick the browser you want to simulate. You can tell it to act like IE8, Firefox, Opera, etc. So if the web page you are testing has a browser dependent issue, you should be able to test for this using HtmlUnit.

HtmlUnit for Automation of Tasks


I was working on a team who heavily used Salesforce.com. There were several daily audit procedures (like TPS reports from Office Space) that required manual entry of the audit data into the Salesforce website. It was a tedious step and I hated doing it, so I decided to see if I could write a Java program that could automate those annoying manual entries.

Well, what API do we know of that allows you to simulate a user web browser session through a web application? HtmlUnit of course!

In under an hour, I had created a Swing application that took the Audit inputs and punched the values into Salesforce automatically. HtmlUnit logged into Salesforce, traveled to the page that lists the audits, clicks the “Create audit” button, fills in the fields, and clicks submit.

And then I started to realize the possibilities are endless with this tool!

Some Limitations


While HtmlUnit is very cool and extremely powerful, it isn’t perfect. As you can imagine, web browsers are extremely complex and have invested 1000’s of hours of development to create them. The open source developers who made HtmlUnit do not have those sorts of resources and therefore are not going to be able to perfectly simulate each web browser.

So apart from the HTML results of web page actions being quirky and a bit different than you’d expect at times, the other common issue is that the JavaScript engine fails to parse the JavaScript on one or more of the pages and throws exceptions. Once the JavaScript fails to parse, you will have to disable JavaScript completely.

So if you find yourself performing mundane website data entry and you get sick of it, or if you need to test the full user experience through your website instead of just the backend Java code… give HtmlUnit a whirl.






























Read More

0 Comments Click here to read/write comments
Tags: Open Source Management, Open Source Trends, DevOps
All Posts
Next Page
Error sending email
Email sent successfully

Email article
Email To : 
Your name : 
Message : (maximum 200 characters)

Enterprise OSS Blog Policy

If you read a post on The Enterprise OSS Blog, please leave a comment. Let us know what you think, even if it's just a few words. Comments do not require approval, but they are moderated.OpenLogic reserves the right to remove any comments it deems inappropriate.

 

click-to-chat-with-a-live-open-source-expert

get-a-quote-on-support

download-the-support-evaluation-kit

schedule-a-deep-discovery-demo

Most Popular Posts

  • Enterprise Apache Tomcat 7 Clustering - Designing an Efficient, Reliable and Productive Application Server Cluster
  • Open Source Virtual Whiteboards and Dimdim Review
  • An Enterprise Apache Tomcat Clustering Guide
  • Supporting CentOS In The Cloud With Windows Azure
  • VLC License Change: A lesson in perseverance
  • An In-Depth Look at Tomcat’s Clustering Mechanisms
  • Apache HTTP Server: New Features for Version 2.4
  • Why Closed Source is Better Than Open Source
  • Access Serial Ports through Ruby
  • Building Bots With Kids

Connect With Us!

Browse by Tag

  • 2013 (2)
  • Agile (1)
  • Apache (2)
  • apache tomcat (1)
  • AS 7 (1)
  • as7 (1)
  • Auditing (5)
  • Azure (2)
  • Budget (1)
  • BusyBox (1)
  • CentOS (3)
  • Closed Source Software (1)
  • cloud (4)
  • clustering (1)
  • CMS (1)
  • Code Scanning (1)
  • commercial distribution (1)
  • Community (4)
  • compliance (39)
  • C-Suite (1)
  • Database (1)
  • developers (2)
  • DevOps (15)
  • Drupal (1)
  • enterprise software (2)
  • foss (5)
  • Gitbhub (1)
  • Governance (36)
  • guide (1)
  • Hadoop (2)
  • HBase (2)
  • http 2.4 (1)
  • httpd 2.4 (1)
  • Java (1)
  • javascript (1)
  • jboss (3)
  • JBoss Cluster (1)
  • Joomla (1)
  • Legal (21)
  • Legal & Compliance (62)
  • Legal and Compliance (2)
  • license compliance (1)
  • Licenses (12)
  • Linux (4)
  • lisp code (1)
  • martin fowler (1)
  • Mobile (3)
  • mod_cluster (2)
  • MySQL (1)
  • Neal Ford (1)
  • open source (19)
  • open source compliance (1)
  • open source components (1)
  • open source events (1)
  • Open Source Governance (2)
  • open source legal issues (1)
  • Open Source Licensing (3)
  • Open Source Management (38)
  • Open Source Policy (3)
  • open source software (15)
  • Open Source Software Adoption (4)
  • open source software policy (1)
  • Open Source Training (1)
  • Open Source Trends (337)
  • Open Source vs. Commercial Software (3)
  • OSS (5)
  • OSS Packages (2)
  • PaaS (1)
  • paredit (1)
  • picketlink (1)
  • Policy (4)
  • PostgreSQL (1)
  • Presentations (1)
  • Programming (2)
  • red hat (1)
  • RHEL (1)
  • Ruby (1)
  • Scanning (27)
  • Scanning & Governance (12)
  • Scanning & Provisioning (30)
  • Security (13)
  • Shibboleth (1)
  • software compliance (1)
  • Software Development (2)
  • Software Development Lifecycle (7)
  • software infrastructure (1)
  • Solr (1)
  • Support (48)
  • Support & Services (2)
  • SUSE (1)
  • Technical Governance (1)
  • The Cloud (35)
  • The C-Suite (2)
  • tomcat (4)
  • Training (9)
  • Ubuntu (1)
  • Uncategorized (69)
  • Windows (1)
  • Windows Azure (1)
  • Wordpress (1)
  • Zookeeper (1)
Home | Search | Contact Us | Products and Support | Services | Enterprise OSS Blog | Wazi Technical Blog | Resources Library | Cloud Services | Partners | Customers | Community | Company | Careers | News and Events
Products
OpenLogic Exchange (OLEX)
License Compliance Module
OSS Discovery
OSS Deep Discovery
OpenUpdate
Services
Open Source Support
CentOS Support
Scanning & Compliance
Open Source Training
Professional Services
Solutions
Support & Indemnification
Open Source Governance
Open Source Scanning
Open Source Provisioning
Consulting & Training
Contact Us
1-888-673-6564


© 2013 OpenLogic, Inc. All rights reserved.
Site Map  |  Privacy Policy