Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by topic: Blogs

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


Web Services and XML

Rule of thumb: Avoid to use {variables} as the first path of a Jersey's @Path I am working on the Arena PUJ Project, a RESTful web-service to support PUJ competitions. We are in the early stages of the project but we already got some resources published on the web. Let me show you a few URL samples: An insecure GET method to read all competitions promoted by a JUG: GET /{competition_id}/...
on Sep 17, 2009

Mobility

As Ryan described in his recent blog, we now have support for Java SE clients in the Mobility Platform. Mahesh Sharma, a student and Sun ambassador in India, has been working on a port of this library to the Android platform. As part of his work, Mahesh also re-wrote the UI of our MusicDb demo and proved that Android is a great plaform to run SGMP applications. With Mahesh's work we now have full...
on Sep 16, 2009
The GlassFish Mobility Platform team has been working on many new features since the 1.1 release back in February 2009, one of which is adding support for MCBO on the Java SE platform.  This will allow the development of desktop synchronization clients that are much more powerful than their mobile Java ME siblings. What's the Difference Between the Java ME and Java SE MCBO ...
on Sep 11, 2009
WIPJAM has become a fixture on the conference circuit ... if you've never been to one of these then this is your chance to experience it. What is WIPJAM@OSiM, you ask? Find out all about it here - and be sure to register! I'm looking forward to it and I hope to see you there! Also, if you're planning to attend OSiM World - I just got word I'll be part of the panel on day 1 at 14:00 titled "...
on Sep 4, 2009

Tools

Java Power Tools Bootcamp sessions are coming up fast in Sydney and Wellington - come see what the buzz is about! For those in Europe, sessions are scheduled for Paris and London and in February next year. The Java Power Tools bootcamps provide a great way to give your Java development a boost and introduce some kick-ass tools, techniques and tricks into your daily development routine. This...
on Sep 14, 2009

Testing

A new Java Power Tools Newsletter is out! In this issue, we study the theory and practice of Mock Objects, including the subtle differences between mocks and stubs, and a simple case study using Mockito, the new kid on the block of Mock Objects frameworks for Java. Check it out!
on Sep 13, 2009

Community

In a previous post : PART2 I describe how to run JSP over Grizzly. Now I'll show you how to run PHP over Grizzly. here a sample web.xml file for PHP support. (I'm using Quercus, but you could use native PHP too). [prettify]
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE web-app
   ...
on Sep 11, 2009
Grizzly Deployer got lot of activity recently over mailing list, so I took the time to give you a new feature that been added to the release 1.9.17. The Autodeploy command. You should see that option like a default web.xml config that will be append to all your webapps that you will deploy. You can activate this feature by adding this param to the command line : java -jar grizzly-http-...
on Sep 10, 2009
The Mobility Platform team has been working on a number of new features and enhancements since the release of GlassFish Mobility Platform v1.1 in February 2009. One of those features is the ability to run the Mobility Platform software on top of Glassfish ESB. There is a clear synergy between the Mobility Platform and Glassfish ESB. The former is about mobilizing the enterprise, while the latter...
on Sep 9, 2009

GUI

Two Worlds Collide On the one hand, JavaFX's powerful scene-graph and animation engine enables gamer types to rapidly create dynamic visual scenes that are functionally expressed through binding and triggers and timelines. On the other, it's growing controls and charts libraries clearly stake out a more traditional GUI turf. As interfaces finally graduate to the 21st century, the lines between...
on Sep 10, 2009

Web Applications

This blog has moved here var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); var pageTracker = _gat._getTracker("UA-3111670-3"); pageTracker._initData(); pageTracker._trackPageview();
on Sep 10, 2009
My previous entry dove under the covers for JSF 2.0 and examined composite component metadata. This one is far less esoteric and shows how to handle the ViewExpiredException using a new JSF feature, the ExceptionHandler, contributed by Pete Muir a JSF Expert Group representative from JBoss. JSF throws a ViewExpiredException when a postback is made to a view and, for whatever reason, that view...
on Sep 3, 2009

Programming

Sun just released the first maintenance update for JavaFX 1.2. This release brings mostly a batch of important javafxc fixes, that I dissect in this blog... Java programmers are used to the fact that compilation of Java source code is a relatively straightforward process, because the Java language has a simple mapping to the Java bytecode. So javac is a trivial compiler, at least in the code...
on Sep 9, 2009

Servlets

I've had questions about how to inject Web Beans into servlets and whether that is supported.  In this entry I'll outline a method of accomplishing just that. This is a simple login application that communicates to a servlet using Ajax calls from a JSP view.  I'm not going to focus on the view or the protocol (Ajax) that  is used to communicate with the servlet.  If you are...
on Sep 9, 2009

Databases

I have just two arguments to avoid using long as type of the primary keys of JPA Entities: Integers IDs allow tables with ~2 billion records. Yes, you read well: max(Integer) = 2,147,483,647 the JPA pagination methods only accepts Integers Query setFirstResult(int startPosition) an  Query setMaxResults(int maxResult) Summary:only adopt data types long for your tables...
on Sep 7, 2009
Well, this is the second time I am using the new blogging platform of Java.net. This time it was much easier and with less hurdle. I want to write about JPA, performance, caching and related things. Though it wont be very well organized but it may come useful for new JPA developers. recently I have assigned a task to work on performance problems of a first tier application and further extend it...
on Sep 3, 2009

Research

I am working out a new pet project, an online system to support PUJ Competitions. It is still a work under progress and I plan to start to blog some technical results here, but until that glorious free time I would give you a glimpse about what is keeping my blog so quiet :) So, PUJ is an academic competition where undergraduate student submit their homeworks for the evaluation...
on Sep 7, 2009

J2EE

Version 1.0.0.PREVIEW3 of Web Beans (the implementation for JSR 299 Contexts and Dependency Injection For Java EE) now uses the annotations from JSR 330 (Dependency Injection For Java) and it is available in GlassFish V3.  In this entry, we'll look at a simple JSF 2 application that uses Web Beans and the JSR 330 annotations. There are other features available in this release of Web Beans...
on Sep 4, 2009
Introduction   What are our options to administer OSGi runtime in GlassFish? We have already talked about a) a command line tool, and b) a web console. We now have a third option. Recently I came across a REST based console being developed by Filippo Diotalevi. We already have all the necessary support in GlassFish - the REST console requires OSGi/HTTP Service and we have an implementation...
on Sep 4, 2009

J2SE

I was involved with development of a RCP application based on NetBeans platform and now I find few minutes to share some of the experience with you. All standard coding and best practices are applicable here. Use project management systems like Trac or any project management system that you know. Never start a project without a project management system. Use coding standard, unit testing, desing...
on Sep 4, 2009