<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rss [<!ENTITY % HTMLlat1 PUBLIC "-//W3C//ENTITIES Latin 1 for XHTML//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">]>
<rss version="0.92" xml:base="http://www.testingreflections.com">
<channel>
 <title>testingReflections.com - java</title>
 <link>http://www.testingreflections.com/taxonomy/view/or/91</link>
 <description></description>
 <language>en</language>
<item>
 <title>ISubmitBlogPosts - a nice twist on Hungarian Notation for Interfaces...</title>
 <link>http://www.testingreflections.com/node/view/7234</link>
 <description>&lt;p&gt;I've been pairing with &lt;a href="http://andypalmer.com/"&gt;Andy Palmer&lt;/a&gt; over this last week. I have to say it's been a lot of fun... and I think we've learned a lot from the experience. One of the things I learned from Andy this week was an innovative use of Hungarian notation for interfaces... Andy told me about &lt;a href="http://www.udidahan.com/"&gt;Udi Dahan's&lt;/a&gt; presentation on &lt;a href="http://cid-c8ad44874742a74d.skydrive.live.com/self.aspx/Blog/Intentions%20and%20Interfaces.pdf"&gt;intentions and interfaces (PDF)&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Sun, 07 Dec 2008 17:29:46 -0600</pubDate></item>
<item>
 <title>JUnitPerf, try it!</title>
 <link>http://www.testingreflections.com/node/view/3992</link>
 <description>I just wanted to bring everyone's attention to JUnitPerf, a set of decorators for JUnit to provide a simple means to acquire timings, and do paced-threading.  Essentially implementing bare-bones performance testing in the Junit framework.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Mike Clark is credited with this gem.  No relation.&lt;br /&gt;
http://www.clarkware.com/cgi/blosxom/2003/</description>
<pubDate>Thu, 27 Jul 2006 15:27:12 -0500</pubDate></item>
<item>
 <title>Google Web Toolkit - Web UIs &amp; Ajax... but in Java</title>
 <link>http://www.testingreflections.com/node/view/3720</link>
 <description>[textile]From the "GWT Product Overview":http://code.google.com/webtoolkit/overview.html via the "GWT Homepage":http://code.google.com/webtoolkit/

&lt;blockquote&gt;
Google Web Toolkit (GWT) is a Java development framework that lets you escape the matrix of technologies that make writing AJAX applications so difficult and error prone. With GWT, you can develop and debug AJAX applications in the Java language using the Java development tools of your choice. When you deploy your application to production, the GWT compiler to translates your Java application to browser-compliant JavaScript and HTML.</description>
<pubDate>Sun, 21 May 2006 05:02:20 -0500</pubDate></item>
<item>
 <title>Roll Your Own Tools..  Real-time Graphing and Round Robin Data Storage</title>
 <link>http://www.testingreflections.com/node/view/3636</link>
 <description>I have spent a lot of time playing around with graphics libraries and toolkits for integrating real-time graphs within my own testing and monitoring tools.  It seems like there are many open source tools available in the world of performance testing and system monitoring.  And lots of people roll their own tools in whatever programming language they are into... but many lack graphics capabilities.  &lt;br /&gt;
&lt;br /&gt;
Two of the toolkits/libraries I end up using often for my own homebrew test tools are: &lt;a href="http://oss.oetiker.ch/rrdtool/"&gt;RRDTool&lt;/a&gt; , and &lt;a href="http://www.jrobin.org/"&gt;JRobin&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
from the &lt;a href="http://oss.oetiker.ch/rrdtool/"&gt;RRDTool&lt;/a&gt; site:&lt;br /&gt;
"RRD is the Acronym for Round Robin Database. RRD is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average). It stores the data in a very compact way that will not expand over time, and it can create beautiful graphs. It can be used via simple shell scripts or as a perl module."&lt;br /&gt;
&lt;br /&gt;
So... &lt;br /&gt;
RRDTool is a really good back-end for storing time-series data; which is pretty much all we care about when we are doing performance testing.  It has bindings for various scripting languages, or can be invoked from the command line.  If you are developing tools that need a data repository and graphing capabilities, this provides you both.  You create an RRD and then you begin inserting data values at regular intervals.  You then call the graphing API to have a graph displayed.  The cool thing about this data storage is its “round robin” nature.  You define various time spans, and the granularity at which you want them stored.  I fixed binary file is created, and this never grows in size over time.  As you insert more data, it is inserted into each span.  As results are collected, they are averaged and rolled into successive time spans.  It makes a much more efficient system than using your own complex object structures, or a relational database, or file system storage.&lt;br /&gt;
&lt;br /&gt;
You will probably recognize the graphs it creates, as RRDTool is integrated in many popular monitoring tools (it is Free/Open Source, GPL License).  I have built many tools around RRDTool, and it is really a nice system.  &lt;br /&gt;
&lt;br /&gt;
If you are in the Java world, there is a very cool project named &lt;a href="http://www.jrobin.org/"&gt;JRobin&lt;/a&gt;.  JRobin is a clone of RRDTool in pure Java.  So you can create RRD's directly from your Java code.. and all in memory if you want to!&lt;br /&gt;
&lt;br /&gt;
Some days I pretend to be a Java programmer, so I had to build a tool using JRobin.  As a proof of concept, I wrote a small network latency monitoring tool.  It shows off some of JRobin's capabilities.  It pings a host at a given interval and records the latency.  A graph of the network latency is rendered in real-time onto a Swing panel.&lt;br /&gt;
&lt;br /&gt;
Here is my network latency monitoring tool:  &lt;a href="http://www.goldb.org/netplot.html"&gt;NetPlot (includes Java source code, GPL Licensed)&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The tool itself is just a trivial example, and really isn't the point.  But you could easily adapt this code or create your own to develop real-time graphs of your own time-series data.&lt;br /&gt;
&lt;br /&gt;
(hmm.. I wonder if I could hook this into JMeter?  probably..)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(How freaking ironic?.. I've been using this thing for a while now, but I decided to check the JRobin web site while I'm writing this..  and the developer just ceased development of the project and turned over all related rights to OpenNMS.  can someone reading this please take over JRobin maintenance? .. erm seriously)&lt;br /&gt;
&lt;br /&gt;
-Corey Goldberg&lt;br /&gt;
 &lt;a href="http://www.goldb.org"&gt;www.goldb.org&lt;/a&gt;</description>
<pubDate>Sun, 04 Jun 2006 14:40:12 -0500</pubDate></item>
<item>
 <title>Eclipse Profiler...</title>
 <link>http://www.testingreflections.com/node/view/3569</link>
 <description>[textile]I was asked the other day if I could speak on a topic around the theme of "Shifting Paradigms in Performance Modelling"...&lt;br /&gt;
&lt;br /&gt;
One of the interesting things about agile projects that the architecture emerges and evolves (as opposed to being designed up-front). &lt;br /&gt;
&lt;br /&gt;
So, how do you keep up? How can you model performance if you don't know what the architecture will look like far enough into the future to justify modelling? Do you need to?</description>
<pubDate>Wed, 12 Apr 2006 01:02:25 -0500</pubDate></item>
<item>
 <title>Fit / Watir / JWebUnit Eclipse Plugin...</title>
 <link>http://www.testingreflections.com/node/view/3365</link>
 <description>[textile]From the "AutAT Website":http://boss.bekk.no/boss/autat/ ...

&lt;blockquote&gt;
AutAT
-- An Eclipse Plugin for Automatic Acceptance Testing of Web Applications

AutAT

* is an open source Eclipse plugin,
* makes test driven development of web applications easier,
* contains a rich graphical editor for specifying how web-sites should function,
* is written using the Eclipse Graphical Editing Framework (GEF),</description>
<pubDate>Wed, 12 Apr 2006 01:02:41 -0500</pubDate></item>
<item>
 <title>Headless Hello World at EclipseCon 2006!</title>
 <link>http://www.testingreflections.com/node/view/3229</link>
 <description>Way back in August I wrote a pictorial guide to creating a &lt;a href="http://www.developertesting.com/archives/month200508/20050823-HeadlessHelloWorldInEclipse.html"&gt;headless hello world eclipse plug-in&lt;/a&gt;, and then in December I tapped the power of my massive blog fanbase to &lt;a href="http://www.developertesting.com/archives/month200512/20051201-HeadlessHelloWorldAtEclipseCon2006.html"&gt;shill for votes&lt;/a&gt; for my &lt;a href="http://www.eclipsecon.org/2006/Home.do"&gt;EclipseCon&lt;/a&gt; short talk proposal. Today I'm happy to report that our efforts were a success and to invite you, if you're going to be at EclipseCon, to stop by March 22nd at 4:15 (that's 16:15 for my international audience) and listen to the very exciting short talk &lt;a href="http://www.eclipsecon.org/2006/Sub.do?id=293"&gt;"Hello World" as a Headless Eclipse Plug-in&lt;/a&gt;. I promise it will be worth all 9 minutes of your time.&lt;p&gt;&lt;a href="http://www.developertesting.com/archives/month200602/20060209-SuccessHeadlessHelloWorldAtEclipseCon2006.html"&gt;Read the full blog entry&lt;/a&gt;&lt;/p&gt;</description>
<pubDate>Sat, 11 Feb 2006 03:30:33 -0600</pubDate></item>
<item>
 <title>Toplink-in-memory: run database tests in memory</title>
 <link>http://www.testingreflections.com/node/view/2469</link>
 <description>Java library to speed up the running of automated tests for projects that use toplink to access databases. It allows you to run the application in memory, rather than against a database.</description>
<pubDate>Thu, 07 Jul 2005 15:11:14 -0500</pubDate></item>
<item>
 <title>Refactoring in NetBeans 4.1</title>
 <link>http://www.testingreflections.com/node/view/2461</link>
 <description>Depending on the tools you use, refactoring can be either time-consuming or quick and easy. Fortunately, NetBeans comes with a solid amount of refactoring support built in. This article aims to teach you about some of the more common refactoring options, as well as to show you ways to use these options in everyday situations with your Java technology source code. NetBeans presently supports four primary refactoring approaches:</description>
<pubDate>Mon, 04 Jul 2005 01:00:21 -0500</pubDate></item>
<item>
 <title>Maven: A Developer's Notebook</title>
 <link>http://www.testingreflections.com/node/view/2460</link>
 <description>Maven is a new project management and comprehension tool which provides an elegant way to share build logic across projects. In terms of capabilities, Maven is an improvement to Apache Ant-thanks to numerous plug-ins and built-in integration with unit testing frameworks such as JUnit. Tired of writing the same build logic for every project? Using Maven, you can leverage the experience of the community to avoid the tedious process of creating yet another build script for each new project.</description>
<pubDate>Mon, 04 Jul 2005 01:00:44 -0500</pubDate></item>
<item>
 <title>POJO Application Frameworks: Spring Vs. EJB 3.0</title>
 <link>http://www.testingreflections.com/node/view/2459</link>
 <description>These two frameworks share a common core design philosophy: they both aim to deliver middleware services to loosely coupled plain old Java objects (POJOs). The framework "wires" application services to the POJOs by intercepting the execution context or injecting service objects to the POJO at runtime. The POJOs themselves are not concerned about the "wiring" and have little dependency upon the framework. As a result, developers can focus on the business logic, and unit test their POJOs without the framework. In addition, since POJOs do not need to inherit from framework classes or implement framework interfaces, the developers have a high degree of flexibility to build inheritance structures and construct applications.</description>
<pubDate>Mon, 04 Jul 2005 01:00:54 -0500</pubDate></item>
<item>
 <title>Agile Java: Assertions and Annotations [PDF]</title>
 <link>http://www.testingreflections.com/node/view/2452</link>
 <description>J2SE 5.0 introduced a new facility known as annotations. Annotations are a metaprogramming facility that allow you to mark code with arbitrarily defined tags. The tags (generally) have no meaning to the Java compiler or runtime itself. Instead, other tools can interpret these tags. Examples of tools for which annotations might be useful include IDEs, testing tools, profiling tools, and code-generation tools.</description>
<pubDate>Mon, 04 Jul 2005 01:03:10 -0500</pubDate></item>
<item>
 <title>JTR: Java Test Runner</title>
 <link>http://www.testingreflections.com/node/view/2170</link>
 <description>A Java framework that helps developers in building test suites. JTR is based on concepts such as Inversion of Control, and is ready for EJB and JMS testing.</description>
<pubDate>Thu, 19 May 2005 00:36:22 -0500</pubDate></item>
<item>
 <title>plotting one object-db what selfmade by xml+db for sectionbase</title>
 <link>http://www.testingreflections.com/node/view/2046</link>
 <description>I want to plot the next works in priority level so as to make my loads to be lightest.As for the major issue, I should develop the Clinlic, Blog, application/invitation module, the charge module, and PhysicalExm module, etc, going along with the modules, I should have to refit the sections from xml to database sooner or later, by the reasons of two:1. as long as the sections grown up more than twenty, it will be difficult to manage by xml;</description>
<pubDate>Fri, 15 Apr 2005 20:42:01 -0500</pubDate></item>
<item>
 <title>Setting Up VirtualMock in the Eclipse IDE</title>
 <link>http://www.testingreflections.com/node/view/2041</link>
 <description>One of the things I teach as part of &lt;a href="http://www.teamagile.com"&gt;Team Agile&lt;/a&gt; is how to do &lt;a href="http://www.testdriven.com"&gt;Test Driven Development &lt;/a&gt;and write unit tests in Java. Yes. This is .NET weblogs, but the following information is so scarce and hard to find I just have to post it. After a long time of trial and error trying to run a framework called "&lt;a href="http://www.virtualmock.org"&gt;VirtualMock&lt;/a&gt;" (which is similar to &lt;a href="http://www.typemock.com"&gt;TypeMock &lt;/a&gt;in .NET in its purposes). Anyway - it's impossible to figure out how to make the thing work under Eclipse - no documentation found on the net for this. Luckily, Eli Lopian of Amdocs finally found a way to make it work with the Eclipse IDE. He was kind enough to let me post the steps he used to make this happen so that future generations could use this practically non-existent documentation as they search it via Google: &amp;nbsp; &amp;nbsp; Hi, &amp;nbsp; Here are the instuctions for setting up using virtual mock in eclipse. &amp;nbsp; &lt;strong&gt;A.1. Setting Up VirtualMocks in eclipse&lt;/strong&gt; &amp;nbsp; Following is the method to set up virtual mocks in eclipse (3.0). &amp;nbsp; &lt;strong&gt;1. Install AJDT (The AspectJ Development Tool) and restart eclipse.&lt;/strong&gt; &amp;nbsp;</description>
<pubDate>Sat, 23 Apr 2005 11:59:27 -0500</pubDate></item>
</channel>
</rss>
