Sample image I used, lots of EXIF info on this shot of a 1971 SL70 that I am rebuilding.
I started by looking at JAI-imageio, which is the current home of the old Sun JAI project (to be fair, that and more), but I couldn't readily figure out how to use it to write EXIF data. The capability might be there, but I couldn't find any substantive documentation or examples (apart from JavaDocs, which are useful yes, but I needed more hand holding to start out). When I ran into this basic getting started stumbling block I broadened my search.Many modern IDEs have all sorts of support for running applications, even servers, in process with the IDE; and then debugging from there. It's good to also be aware, however, that you can debug *external* processes pretty easily as well. This is made possible by the Java Platform Debugger Architecture.
In the last post we made a real simple flickr browser. Now I am going to modify it to support tags on the search. You can see the results here.
There is now a text box where you can type comma delimited sets of tags to search flickr for. (Hit return to update the results) This feature demonstrates the use of the Converter interface in bindings. We want to bind the TextBox to the "tags" property on the FlickrSearch bean, so we use a converter to split the tags:
I updated the "sample example that is quite ample" earlier this week, forgot to note it here.
The sample is a GWT RPC example that now includes using a DataSource with an HSQL database. This example shows you how to set things up to work in Hosted Mode (with the "Tomcat Lite" that comes with GWT) and how to deploy a WAR.
Along with basic GWT RPC and a DataSource it also demonstrates throwing exceptions across the wire, custom serializable types, how to configure web.xml and context.xml - an
I will try to expand on this later, but for now I do not have time and wanted to get something on this subject recorded, so here is an ultra short example of using JPA with JEE5 outside of a container.
I used the Oracle Toplink JPA Implementation - they also have some tutorials there, but like many others they get into too much other crap, building a web app, etc.
1. Setup a database and make sure you can access it with the correct perms over the network (I used MySQL and ConnectorJ).
Chatter
4 hours 9 min ago
3 days 7 hours ago
3 days 10 hours ago
3 days 15 hours ago
1 week 20 hours ago
1 week 2 days ago
1 week 4 days ago
1 week 5 days ago
1 week 5 days ago
1 week 6 days ago