Seven mistakes of software testing
TheServerSide
This article discusses some of the most common mistakes that developers make when performing software testing.
This article discusses some of the most common mistakes that developers make when performing software testing.
Michael Huettermann has been hard at work recently, updating the Java.net Java User Groups community pages. This past Friday, he announced "A further bunch of JUG web pages updated": After I've intensively updated a bunch of JUG related web pages on java.net, especially those that can be reached from the new/updated "JUG Resources" block on our main entry page, we now have a dramatically reduced number of open issues and a better user experience... If you're involved in a Java User Group and you've not recently visited or participated in the happenings in the Java.net JUGs Community, now is a very good time to consider getting involved again. There's a lot happening involving Java User Groups today. We see new JUGs springing up across the world, for example the Algeria Java User Group, which held its third meeting on Monday. Oracle has been active in supporting JUGs, sending prominent people to JUG meetings, and supporting JUG activities through events like last year's Java 7 Community Celebrations. On the Java.net JUGs Community main page you can find a Java User Group in your area using the JUG Profile Map: Or, by viewing an alphabetical listing worldwide Java User Groups. Or, you can use the search box to try to find a JUG. The page also includes recent JUG news, and JUG related tweets (to create one, tag your tweet with #javajug or #javausergroups). The recent focus of Michael's efforts has been on the pages that are linked to in the "JUG Resources" column on the left. These pages include: Browse JUGS Community Submit JUGS Project Join JUGS Mailing List Start/Improve you JUG Objectives and Projects JUG Blog Postings JUG Wiki JUG FAQ Other Programs/Sponsorship JUG Events JUG Calendar Adopt a JSR JUG RSS Feed As you can see, there's a lot available for Java User Groups on Java.net. If you haven't participated previously (or not lately), now is an excellent time to get involved! Java.net Weblogs Since my last blog post, Otavio Santana posted a new java.net blog: Otavio Santana, Killing the myths about java. Poll Our current java.net poll asks How soon do you plan to start using the just-released NetBeans 7.1?. Voting will be open until this Friday, January 20. Articles Our latest Java.net article is Michael Bar-Sinai's PanelMatic 101. Java News Here are the stories we've recently featured in our Java news section: Peter Lawrey demonstrates Java Thread Affinity support for hyper threading.; Adam Bien discusses How To Package @Local Interfaces In An EAR?; Dustin Marx presents Focus on JavaFX 2 FXML with NetBeans 7.1; Lucas Jellema demonstrates Stand-alone Java Client for jWebSocket Server - communicating from Java Client to Web Clients and vice versa over WebSockets; Geertjan Wielenga recommends Javeleon 2.0 Beta 3: Try It Today!; Adam Bien demonstrates JavaFX 2.0 CSS Reference; Spotlights Our latest java.net Spotlight is Toni Epple's NetBeans IDE 7.1 Review: JavaFX support: Last year, with the release of version 2.0, JavaFX finally started to gain attention at the big conferences and there seemed for the first time to be a shift in developer perception now that Oracle addressed the issues that kept Java developers from using this new UI technology. There's the following issues that have now been resolved... Subscriptions and Archives: You can subscribe to this blog using the java.net Editor's Blog Feed. You can also subscribe to the Java Today RSS feed and the java.net blogs feed. You can find historical archives of what has appeared the front page of java.net in the java.net home page archive. -- Kevin Farnham Twitter: @kevin_farnham AttachmentSize AlgeriaJUG_cup.png6.96 KB JUGmap.png92.46 KB
Welcome to another installment of This Week in Spring. We've got a lot of good content to look at this week, so let's get on with it. Pssst. What are you guys doing this Thursday, the 19th? If you haven't already, may I suggest you register for the Spring 3.1 webinar with Juergen Hoeller and Chris Beams? If you're in Europe, there's going to be a webinar at 3PM GMT, or 4PM CEST, and if you're in North America, there's going to be a webinar at 1PM EST or 10AM PST. Don't be left out, this event's already seen the highest registration of any webinar thus far, so register now, and as usual, I hope to see you there. Another session from SpringOne2GX, on Writing Applications for Cloud Foundry using Spring and MongoDB, has been posted. The Spring material is presented by data expert Thomas Risberg and the Mongo material is presented by Jared Rosoff from 10gen. Willie Wheeler, author of Manning's Spring in Practice, has put together a great blog post called Calling the GitHub API using Spring's RestTemplate. Craig Walls, author of Manning's own Spring in Action and lead of the Spring Social Github project read this blog post and reached out to Willie. They started collaborating. A few pull requests later and that integrated, cleaned up idea and code is now in Spring Social Github master, ready to be incorporated in the next release. That's three days from blog to master! This is a great example of how powerful open source is. Don't hesitate to get involved, too! Cloud Foundry has just announced support for Manifests, which contain deployment information for an application. These manifests can be used to remove many of the tedious interactive prompts encountered when deploying an application using the vmc tool making deployments much more reproducible. Additionally the Cloud Foundry group has also announced support for installing and running the Java-based Jasper Reports server as a service on Cloud Foundry. Willie Wheeler's been busy, of late! Some content from his upcoming book is available on the internet. In particular, Creating Your First Spring MVC applications is really good, and worth a read. He also has another post, Making <form:select/> work nicely using Spring 3 Formatters, that is definitely worth a read! It answers a very common question and shows the latest and greatest in best practices. Nice job, Willie! The Rai Studies blog has a few great posts this week, including a post on Using Spring MVC 3 with JQuery's Ajax support and a post on File Uploads Using Spring MVC 3. Possibly inspired by the Cloud Foundry add-on for Spring Roo, Shekhar Gulati at Xebia has cooked up another PaaS add-on, this time for Openshift. This is a great example of Spring Roo's powerful addon mechanism and the ecosystem thats grown up around it. If Spring Roo doesn't have something for you, it's easy enough to extend it! Readers of this blog will recall that Shekhar wrote the great blogs introducing Spring Roo on his IBM Developer Works series, which, if you didn't read it then, you should read now. Ashish Sarin, author of the Spring Roo Cookbook, has put some great content up on Adding Dynamic Finder Methods in Spring Roo. The TomcatExpert.com site has a great roundup of some of the great content from 2011. Over on the Apache Tomcat mailing list comes news of an update to Apache Tomcat 6 and 7 designed to fix a severe DoS attack. Please consult the post for information on the attack as well as the appropriate fixes.
Mozilla has launched the Mozilla Labs Apps Developer Preview, an early view of the Mozilla Labs Apps marketplace. The Mozilla Labs Apps project allows developers to create HTML5 applications that run across multiple devices using Web standards like HTML5, CSS and JavaScript. The Mozilla Labs Apps project will also operate its own marketplace to help in the distribution of these HTML5 applications. By Bienvenido David III
Many of the new Java PaaS offerings announced in 2011 will enter production in 2012.
JavaOne Russia and JavaOne India are regional events that allow learning about all aspects of Java--from better programing with the new features of Java SE 7 to using other languages on the JVM. Learn from the experts how to use Java better, about the Java roadmap, and how to choose and use tools in the Java ecosystem for your development work. Meet with other Java developers and explore new possibilities at JavaOne Russia and JavaOne India. JavaOne Russia Moscow, April 17-19, 2012 Crocus Expo JavaOne India Hyderabad, 3-4 May, 2012 Hyderabad International Convention Center Call for Papers, registration information and details are coming soon.
Leading tech vendors are working together to establish a standard for enabling "portability of cloud applications and IT services that comprise them running on complex software and hardware infrastructure." By JP Morgenthal
Sencha, which creates frameworks, tools and services for developers to build Web applications using JavaScript and HTML5, has released its 2012 HTML5 Wish List.? "Looking at the phenomenal rise of HTML5 as the next industry standard for Web development, it's clear that 2011 has been a transformational year for this powerful set of Web technologies," said Michael Mullany, CEO of Sencha. He said Sencha's offerings give Web application developers the ability to "harness emerging HTML5 technologies and create highly functional Web applications that erase the line between native apps and Web apps." Sencha also issued a 2011 wish list, and out of the 10 wishes, four came to be. The four wishes that came through were: A richer CSS3 effects toolbox; high-performance position for mobile browsers; pervasive GPU acceleration; and Websockets stabilization. Sencha's 2012 list includes wishes such as better mobile browser debugging, a contacts API, IndexedDB and better offline caching. This slide show offers the full Sencha wish list. - ...
Roundup '11 - Mobile Apps and Development QR Code - Android http://en.wikipedia.org/wiki/QR_code Corporate app store http://arstechnica.com/business/news/2011/11/private-app-stores-does-your-company-need-its-own.ars Apple store point of sale solution http://www.iphonelife.com/issues/2010Spring/AppleUsingIpodTouch Android developer tools http://developer.android.com/index.html Apple developer tools http://developer.apple.com/devcenter/ios/index.action Square http://squareup.com NFC - Near Field Communications http://developer.android.com/guide/topics/nfc/index.html Chip and pin cards http://en.wikipedia.org/wiki/Chip_and_PIN Alien Dalvik http://techcrunch.com/2011/10/06/alien-dalvik-2-0-launches-adds-support-for-running-android-apps-on-ipad/ Apple developer terms and conditions http://developer.apple.com/programs/terms/registered_apple_developer_20100301.pdf Android developer terms and conditions http://developer.android.com/sdk/terms.html Android fragmentation http://mashable.com/2012/01/03/android-fragmentation/ Android store https://market.android.com/ Amazon app store for android http://www.amazon.com/mobile-apps/b/ref=topnav_storetab_mas?ie=UTF8&node=2350149011 TurboTax SnapTax http://turbotax.intuit.com/snaptax/mobile/ Google 2 factor authentication http://googleblog.blogspot.com/2011/02/advanced-sign-in-security-for-your.html Something you know, have or are http://www.cs.cornell.edu/courses/cs513/2005fa/nnlauthpeople.html iPad http://store.apple.com/us/browse/home/shop_ipad/family/ipad?afid=p219%7CGOUS&cid=AOS-US-KWG-BOPIS Android tablet http://eee.asus.com/eeepad/transformer-prime/features/ http://www.amazon.com/dp/B0051VVOB2/?tag=googhydr-20&hvadid=8302881877&ref=pd_sl_7gl7b2uwu2_e Netbooks http://www.amazon.com/s/ref=nb_sb_noss_1?url=search-alias%3Daps&field-keywords=netbook&x=0&y=0 Chromebook http://www.amazon.com/s/?ie=UTF8&keywords=chrome+book&tag=googhydr-20&index=aps&hvadid=4820790557&ref=pd_sl_6cbhw90e72_b Thanks Libsyn.com - http://www.libsyn.com - for hosting and bandwidth Feedburner.com - http://www.feedburner.com - for feed redirect Kirsty Doherty, Amy Ehmann for Java Posse artwork Theme Music: Opening - "Java" the parody song Copyright 1997 Broken Records and Marjorie Music Publ. (BMI), written and performed by Loose Bruce Kerr of the Dr. Demento Show and Sun Microsystems attorney. Based on the WWI popular song, "Ja-da." Ukelele style on the recording taught to Bruce by his dad. Re-produced with kind permission from "Loose" Bruce Kerr - http://loosebrucekerr.libsyn.com http://www.youtube.com/watch?v=TAX0gJt-aZg Closing - Juan Carlos Jimenez - In the House (Intro No. 1) To contact us: Visit our homepage - http://javaposse.com Post on our Google Group - http://groups.google.com/group/javaposse Pose a question on our Google Moderator group - http://tinyurl.com/q4javaposse Call us with questions and feedback - (408) 465-4626 Or send us email - javaposse@gmail.com The Java Posse consists of Tor Norbye, Carl Quinn, Joe Nuxoll and Dick Wall
How do you know if using code metrics really does help to produce code with fewer bugs. We can use historic data and some code forensics to prove it. All projects have historic data. This is usually stored in your bug tracking and source code control tools. We can use the data stored in these systems to perform 'code forensics.' We use the historic data from real issues to see if they...
For the first time since 1993 Microsoft is posed to offer a new file system architecture. ReFS or Resilient File System is designed to both improve reliability and as a chance to drop obsolete features offered by NTFS. By Jonathan Allen
I'm fed up with unit testing !
AuthenticRoast is an open source project that works with the Java Authentication Service Provider Interface for Containers (JSR 196) to let you develop custom authentication modules for use with container-managed, declarative security. Joe Sam Shirah shows how AuthenticRoast can minimize configuration impact on Java Enterprise Edition (JEE) containers and greatly reduce coding effort for custom security requirements. A downloadable WAR with demonstration code is provided.
In this blog post, I look at a very simple JavaFX 2.0 application that loads an image provided on the command-line and presents it in both normal form and with JavaFX 2.0's SepiaTone effect applied to it. The simple application presents the two images side-by-side for dramatic effect.
In an earlier post, we stepped through the building of an asynchronous web service, deployed in Java SE. I saved my comments for this post to keep things a little cleaner. But there are some loose ends to discuss, especially when you hear my motivation for building an asynchronous web service in the first place.
In the last few month we've went through this decision making process: which technology stack to choose for enterprise development on the Java platform? There are various alternatives. However, the ones we've discussed intensively were: Pure Java EE 6 Stack vs. Spring with Java EE. The following blog article summarizes key issues I found interesting when you consider one of those technology...
S'Mores are about the perfect mix of sugar, sugar and chocolate. So, the programming equivalent would be getting your Selenium tests separated from your unit tests, and running in an API that just needs a web server, not a separate Selenium server, right? (Ok, I'm stretching it). First, here is an integration test, ITCourseSelenium.java that uses the Selenium WebDriver API. Look how simple...