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

Blogs by Community: Java Enterprise

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  


Java Enterprise

In the previous article we described a setup for integration testing. It did not explain how to do automatic deployment to an application server. Since we want to make it convenient to do integration tests we are now going to add Glassfish into the mix. Note that in the previous article we put the integration testing into a separate profile. We are now going to put it back into the normal build...
on Dec 15, 2011
If you want to do integration testing using HtmlUnit and Maven the following sets you up for easy testing. 1. Create a Maven web application project 2. Add index.jsp page (or whatever flavor of framework you want to use). 3. Add HtmlUnit dependency 4. Write integration test for the index.jsp page 5. Add the profile to support running of the integration tests separate from the main build cycle...
on Dec 13, 2011
JSF 2.2 Early Draft Review Available Three days ago, the JSF 2.2 Early Draft Review Specification was released. You can download it from <http://jcp.org/aboutJava/communityprocess/edr/jsr344/> and the in-progress reference implementation can be obtained by following the instructions in my blog entry from 26 September 2011. With this blog entry, I want to quickly survey the new and...
on Nov 11, 2011
var headID = document.getElementsByTagName("head")[0]; var cssNode = document.createElement('link');cssNode.type = 'text/css';cssNode.rel = 'stylesheet';cssNode.href = 'http://ridingthecrest.com/scratch/20111111-blog-a.css';cssNode.media = 'screen';headID.appendChild(cssNode);JSF 2.2 and 2.1 Nightly Builds Running Again I'm ashamed to say it, but we've gone over two years without having a...
on Nov 11, 2011
In the first blog entry of this series, we showed how to configure a message body reader (MBR) on an instance of Client. Specifically, our example required the registration of an MBR to convert an application/json representation of the Money bean.  Client client = ClientFactory.newClient();client.configuration().register(MoneyMBR.class); As stated in that blog entry, a Client instance can be...
on Oct 28, 2011
Did you ever tried to visualize dependencies between pages on your average website? If so, you probably know what kind of pain it can be. The relations tend to be messy and any kind of chart displaying them is not easy to read. The other night I was looking for some charting library and run across MooWheel. Using the Wheel for rendering the deps you get reasonably readable chart for smaller site...
on Oct 19, 2011
Somebody shown me the tool called Red Bot the other day. The tool will check the headers of responses sent by your server, the compression of the content during transfer, server clock as well as modification dates claimed by your content. The info it gives about each page of the site is broken in 3 sections - General, Content Negotiation and Caching. When I saw the tool, I thought it might...
on Oct 17, 2011
Some Wicket goodies for my JavaOne talk. If you go to my JavaOne 2011 talk "Productively Fun Web Development with Apache Wicket and Java EE 6" you will see a demo where Bean Validation is used in conjunction with Apache Wicket. In order to accomplish that, all that you need is a single Java class that bridges the Wicket validation framework and the JSR 303 validation engine. I am...
on Oct 5, 2011
var headID = document.getElementsByTagName("head")[0]; var cssNode = document.createElement('link');cssNode.type = 'text/css';cssNode.rel = 'stylesheet';cssNode.href = 'http://ridingthecrest.com/scratch/20110614-blog.css';cssNode.media = 'screen';headID.appendChild(cssNode);Here is my session presentation and attendence plan for JavaOne 2011. Sunday, October 2 1:00pm  ME More...
on Sep 28, 2011
There is a lot of well-founded buzz around HTML5 but I assert that nearly all of it stems from how HTML5 enables the UI authoring experience to focus entirely on the browser, instead of on server-side processing that delivers content to the browser. For years, I've been making the case that building a web application is really building a distributed application, and therefore the art is finding...
on Sep 26, 2011
The movement towards digital records is generating exponential amounts of data, tremendously valuable data. But building a system to manage that data and extract value from it requires acceptance of a paradox; the system needs to be flexible and tolerant, while simultaneously enforcing structure and standards. This is hard. Many of us have felt the pain of Master Data Management (MDM). In large...
on Sep 9, 2011
var headID = document.getElementsByTagName("head")[0]; var cssNode = document.createElement('link');cssNode.type = 'text/css';cssNode.rel = 'stylesheet';cssNode.href = 'http://ridingthecrest.com/scratch/20110902-blog.css';cssNode.media = 'screen';headID.appendChild(cssNode);JCP/JavaEE Artifacts in Maven Central As mentioned in the Editor’s Blog, java.net artifacts are finally...
on Sep 2, 2011
Heroku, the PaaS cloud owned by salesforce.com, announced a few days ago support for the Java language. In the process they declared Java EE to be irrelevant in the cloud world. Is that so? I try to embrace anything that helps me develop, test or deploy code faster. Cloud Computing has the potential to bring radical improvements to all these areas, hence I have been following its...
on Aug 29, 2011
in JPA it is possible to map String-data to enumerated values. But you are limited to Strings that are legal to be used in enum-types. E.g. using '-' or plain numbers will not work. An enum using such characters will not compile: public enum ThisWillNotCompile {   VALUE,   123,   hello-world;} Thus JPA doesn't allow to map such values to enum-types (in fact it's not...
on Aug 24, 2011

Java User Groups

This year is a good year for Meruvian, after 6 years work, now the student can achieve as winner in national competition, but we still have problem send them to APICTA for Asia  Pasific ICT competition, because dunno why. Merit Award could be sent to Asia Pasific. but cant... I wish APICTA global organizer read my blog. Edy is a 15 years, when in competition happen, he was still 2 year in...
on Dec 4, 2011
Hi, we just create a small diagram for our 2011 program, and 50 highschool kids learning this model, around 12 univ student and 6 lecturer from polytechnis in north sulawesi island, in the progress to evaluate this concept in real case.   The interesting of this project is to create Java development ecosystem, and we use 2 integration framework, called BlueOxygen Cimande under blueoxygen....
on Jul 4, 2011

Java Web Services and XML

 Tonight I bundled the cassandra command-line interface (CLI) into virgil. Since the CLI uses the thrift-based CassandraDaemon, the main method now starts a thrift server along side the REST server.     Now, when you (or your application) issues commands through the REST interface, you can verify that they worked through the command-line interface. For more information, check...
on Oct 24, 2011
The Early Draft for JAX-RS 2.0 (JSR 339) has recently been submitted for publication. There are number of interested features in the new draft, and I'd like to start with the new Client API. The Client API is used to access Web resources. It provides a higher-level API than HttpURLConnection, and perhaps more importantly, integration with JAX-RS providers. Let us start by defining a simple ATM...
on Oct 14, 2011

JCP

JAX-RS 2.0: A first interim report It's been a few months already that the expert group of JSR 339 started discussion about the details of JAX-RS 2.0. The target defined by spec lead Oracle are clear: Java EE 7 shall have a RESTful API that augments current JAX-RS 1.1 API by (among others) a Client API, HATEOAS support and asynchronous invocations. So what's the status with state? As three corner...
on Jul 24, 2011

Embedded

We are now success put Cimande to Maven.Java.net, but of course, because this is our first deployment, so there are bugs that we fix, but hopefully we will fix it shortly, because 55 kids (highschool) waiting for those, and several univ student waiting to start using it.  Since the blog posting, we found a bugs in dbunit in our code, but that wont stop me to blog here. U can try our cimande-...
on Jul 8, 2011