Java Today |
 |
Exploring Security Warning Functionality
The Warning: Applet Window message has long been criticized for confusing and scaring users, despite the importance of alerting users to the fact that such windows are spawned by untrusted applets and not their browser or other installed applications. In Exploring Security Warning Functionality, Anthony Petrov and Alla Redko discuss the evolving presentation of the applet window warning, and explore a new API, com.sun.awt.SecurityWarning, introduced in JDK 6u12 to give developers some control over the positioning of the warning icon.
JSR 292 support in javac
John Rose is providing some details on JSR 292 support in javac. "In order to work with dynamic types, method handles, and invokedynamic I have made some provisional changes to javac as part of the Da Vinci Machine Project. The mlvm wiki has a full description for Project COIN. It is most desirable, of course, to program invokedynamic call sites as Java expressions, not just ASM code, and that's what those langtools patches are for."
Java Card 3: Classic Functionality Gets a Connectivity Boost
Java Card 3 is a major evolution of the current Java Card 2 platform. In the SDN article Java Card 3: Classic Functionality Gets a Connectivity Boost, Peter Allenbach writes, "while Java Card 3 enhances the classic interoperability, security, and multiple-application support in the platform, it exploits such new hardware features as more memory, more processing power, and enhanced communication capabilities. In this way, Java Card 3 comprises both the Classic Edition and a new Connected Edition."
Weblogs |
 |
SwingX 0.9.6 Released
Almost on the spot 3 months since the last release SwingX 0.9.6 is out. This release focuses on one last code API cleanup before 1.0 release. —
Jan Haderka
A Visual Display of OpenDS Code Commits
See a short video, called CodeSwarm, of the history of code commits for the OpenDS project, courtesy of community manager and architect Ludo Poitou. What an impressive picture! —
Marina Sum
QTI 2.1 draft specification has been removed from the IMS website
A sad day for the global education community - the IMS Global Learning Consortium decided to withdraw the QTI 2.1 draft specification. —
Felipe Gaucho
Forums |
 |
JDK1.6.0_07 and _03: Non-blocking socket "oddity"
I have the following situation (on both Linux and MacOS) -- A non-blocking connection established to a server for a long-term persistent message oriented exchange (request-response). I'm doing negative testing and see something very odd (at least to my somewhat experienced "C" socket programming eyes). When I pull the cable, the select does not wake up (this is good, and what what I expect). When I write to the socket while the cable is pulled, I expect to see an IOException, but I don't. When I plug the cable back in at the server, the select in the java application "breaks", and the recovery processing is initiated. So, is this normal expected behavior in Java? Shouldn't the SocketChannel.write( ByteBuffer src) call fail? —
Re: Disabling ?WSDL
If request path needs changing you have no alternative beyond trying to avoid metro wsdl (maybe filter, trying to get load balancer to redirect ?wsdl, or try and rewrite the WSDL coming though (though that would be hard)). Otherwise you can try and get metro to have the correct URL: The address in the wsdl is derived from the servlet request enviroment. Hostname and port can be statically overridden using tomcat connector attributes. Alternatively if the request path (as opposed to host/port/protocol) is not changed, you could avoid request rewriting (can still do request routing or course) at the proxy so the web service sees the true URL via either http or ajp). —
Re: asadmin in v3: Requesting user feedback on functional spec ...
First of all let me just say that I love all the proposed enhancements and new features. Given that as developers we spend a great deal of time working with asadmin, it's great to see that the tool is getting attention in v3 release. [...] One thing that has always bugged me was an inability to do a domain restart with one command. I don't know why such a simple, yet commonly needed feature is missing. —
