Open your browser at parleys.com

Spent time at www.parleys.com today watching some nice videos. If you are a software developer/architect visit their web site.

According to them: “Parleys.com is the next generation RIA eLearning platform where different recorded talks from Devoxx, JavaPolis, BeJUG, SpringOne, JaZoon, JavaZone and EclipseCon (and hopefully others in the future) get published on aregular basis. The Parleys.com site wants to become the premier Java video e-learning site where you can listen and subscribe to many Java related podcasts or view the flash talks, hopefully all resulting in improving your Java skills.”

Enhanced by Zemanta

Keep a note about Jetty

Jetty is a 100% Java HTTP Server and Servlet Container. This means that you do not need to configure and run a separate web server (like Apache) in order to use java, servlets and JSPs to generate dynamic content. Jetty is a fully featured web server for static and dynamic content. Unlike separate server/container solutions, this means that your web server and web application run in the same process, without interconnection overheads and complications. Furthermore, as a pure java component, Jetty can be simply included in your application for demonstration, distribution or deployment. Jetty is available on all Java supported platforms. Jetty is devloped under the guidance of Mort Bay Consulting and released under the Apache 2.0 License . Full source code is included in all releases. The License puts few restrictions on usage of Jetty, which is free for commercial use and distribution. The developers of Jetty ask users to inform themselves of the issues, political, legal or otherwise that motivate and threaten the development of Open Source and Free Software. The Jetty user and development community is active and welcomes new contributors. Jetty has been widely used in commercial and open source projects and applications, ranging across the full spectrum of runtime environments from hand helds to main frames. To illustrate this diversity, we have put together a (far from exhaustive) list of Jetty Powered products. Here are just a few highlights: * Integrated with J2EE application servers such as Geronimo, JBoss, and JOnAS. * Bundled with the JXTA, Tapestry, Cocoon and numerous other Open Source projects. * Integrated with projects such as Jelly executable XML, Avalon Phoenix micro kernel and Maven project managment. * Included in many products including IBM Tivoli, Sonic MQ and Cisco SESM. Jetty has been optimized by commercial and experimental use since 1995 and a small and efficient server is the result: * A HTTP/1.1 server can be configured in a jar file under 350KB. * Jetty consistently benchmarks as one of the fastest servlet servers. * Jetty servers scale well to thousands of simultaneous connections * Server performance degrades gracefully under stress. For many applications, HTTP is just another interface protocol. Jetty can easily be embedded in such applications and products without adopting a WWW centric application architecture. Examples of embedded Jetty usage include: * Integrated with J2EE application servers such as Geronimo, JBoss, and JOnAS. * Bundled with the JXTA project as the basis for its HTTP transport. * Included in many products products including IBM tivolli, Sonic MQ and Cisco SESM. * Used for the CD demo disk in several books on XML and Servlets. * Run on embedded systems and handheld devices. Whats New in This Release: · Added support for TLS_DHE_RSA_WITH_AES_256_CBC_SHA · Upgraded session ID generation to use SecureRandom · Quote single quotes in cookies · AJP protected against bad requests from mod_jk · JETTY-154 Cookies ignore single quotes.


Testing web apps with Selenium

Doing investigation about the Java Ecosystem this week and I am surprised with the capabilities of a framework called Selenium. Selenium is a robust set of tools that supports rapid development of test automation for web-based applications. Selenium provides a rich set of testing functions specifically geared to the needs of testing of a web application. These operations are highly flexible, allowing many options for locating UI elements and comparing expected test results against real application behavior. Official web site is http://seleniumhq.org/

A short video of what Selenium is capable to do,  could be  downloaded at http://seleniumhq.org/movies/intro.mov

I googled a little bit so I am suggesting the following videos to start up:

First a series of 4 videos that present a small (~20 min) tutorial based on Eclipse and TestNG. Integrating with Selenium is very easy. The author created a 4 part tutorial. The first part follows here:

Very easy to follow all 4 parts.

Second a great video from the guys at http://buildlackey.com/ showing a lot of theory and practise about Selenium in a 90 minutes video. The quality of the video is very good, the sound clear and the presenter talks in a very comfortable way. Very cool and easy-going. Talks a lot about Selenium and later goes to details about integrating functional test with Apache Maven and doing Continue Integration with Hudson. The video here:


Apache Maven first step, repository central will be blacklisted

I am doing some work with Apache Maven 2 today. Never touched this stuff before. I am following a tutorial at IBM developerWorks. However if you sitting behing a proxy you will receive a “repository central will be blacklisted” fatal error. The execution will fail. Although it seems that we are searching for a “I am feeling lucky” google response, this is not the case. I didn’t find a clear answer with the first glance.

If you are facing the same problem we need to set a proxy via the command line like this:

prompt>mvn … -DproxySet=true -DproxyHost=1.2.3.4 -DproxyPort=8080.

Setting the proxy details right is the solution here. You will be able now to create your first archetype.


Follow

Get every new post delivered to your Inbox.