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 


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
The Open Ajax Alliance is a standards organization with the mission of ensuring interoperability within Web based Ajaxified applications. One of their standards relates to intercomponent communication - the ability to subscribe and publish messages which can then be picked up by code written by other authors. Please note that if you don't have an interest in Open Ajax, this post may not be...
on Sep 3, 2009
  Lots of fixes have gone into SailFin 2.0, some of these fixes are related to functionality whereas others are to improve performance. The changes sometimes required creation of new user configurable properties in order to extract the optimal-performance/desired-behavior depending on the users deployment. This article tries to explain some of the properties/attributes that were introduced...
on Sep 2, 2009
This blog highlights some of the changes that are part of GlassFish v3 logging.  Since Prelude I have added 3 asadmin commands related to logging. I have updated the set-log-level command and changed the syntax. See below for details. The new commands are:     * asadmin rotate-log     * asadmin list-logger-levels     * asadmin set-log-level...
on Sep 2, 2009
I've had a few requests on how to write a busy status indicator - you know, the little spinning ball that's there while an Ajax call is active, and which goes away once the request is complete. So, I spent about two hours today, and did just that - including putting it into a component so it's reusable. As usual, it involved no Java, and only a minimal amount of JavaScript. First, I needed...
on Sep 2, 2009
This ultra-quick blog entry shows how to use the JSF runtime to access metadata for a composite component. Note that most of the metadata is optional when creating a composite component, therefore, this entry will be of interest to tool vendors and those wishing to write composite components that stand a chance of showing up nicely in tools. The Using Page When showing a composite component demo...
on Sep 2, 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

Mobility

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