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

Blogs by topic: J2EE

• 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 


Testing

This blog describes how to configure org.glassfish:maven-embedded-glassfish-plugin for deploying more than one application. There was a community request for this. Refer: http://java.net/projects/glassfish/lists/users/archive/2012-02/message/382 http://stackoverflow.com/questions/9280413/maven-embedded-glassfish-plugin-deploying-2-applications The following pom.xml snippet shows how to configure...
on Mar 18, 2012
Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog  In the previous articles we have concentrated on testing using Glassfish. But can you use the same recipe to do testing on Weblogic. The answer is YES, but ..... Yea you know there is always a caveat. First make sure you have Weblogic installed properly. Note I did the testing with the latest 12c version,...
on Jan 13, 2012

J2EE

Java VM has a standard option called -verbose as shown by java -help:     -verbose[:class|gc|jni]                  enable verbose output To diagnose class loading issues, you need to specify -verbose:class. It's straight forward to use if you are launching the Java process yourself. How does a...
on Feb 23, 2012
Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog  In the previous article we described how to do testing with multiple containers. But since joining the Glassfish team I have wondered how can I test applications against different versions of JSF on Glassfish? As it turns out it is actually quite straightforward. This blog entry shows you how to do it. It...
on Jan 5, 2012
Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog In the previous article we have worked out how to run the integration tests against Glassfish, but what about other versions of Glassfish or even other servers? Well, the infrastructure groundwork has been laid for that. Before we are going to reap the fruits we are going to explain the difference between...
on Dec 22, 2011
Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog In the previous article we added the Glassfish application server into the mix for testing. This looks all nice,but one might wonder how this would work in a parent project (POM) and child projects setup. Well it is fairly easy to accomplish. We will move all the bits first over to the new parent POM we are going...
on Dec 20, 2011
Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog 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...
on Dec 15, 2011
Note this blog is obsolete, see https://www.manorrock.com/blog/ for the current blog 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...
on Dec 13, 2011
GlassFish 4 will be the JAVA EE 7 reference implementation. This new version is to be released on Q3, 2012 but promoted builds can already be downloaded : http://dlc.sun.com.edgesuite.net/glassfish/4.0/promoted/. The main idea of this future release is to provide GlassFish as a PAAS solution. GlassFish 4 will be shipped with a new component called PAAS console. This component is a GUI that...
on Dec 8, 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

Accessibility

                 Easy-Cassandra is a framework ORM API and a high client for Apache Cassandra in java, with this is possible persist information from the Java Object in easy way. For this is only necessary add some annotations in some fields and your class. It works like an abstraction's tier in the Thrift, doing call for Cassandra. The Easy-Cassandra...
on Feb 21, 2012

Community

    Nowadays the Enterprise applications beyond persist String and number also can save file. Persist this information is very interesting, for example, a civil process there are information about the process (name of author, date, number of protocol) and the document which represents, or a twett with an image. In Apache Cassandra, you can save file, but for large file you should use...
on Feb 1, 2012
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
       Eclipse is famous IDE in em Java, follows the open source model. The Eclipse project was stated by IBM that does the first version, then donated like open source for the community. The begin costs was above 40 millions. Nowadays, the Eclipse is one of the most used worldwide. Has important feature how the SWT uses and not the Swing, there are too many plug-ins...
on Nov 26, 2011

Education

From 1995, when was launched the first Java's version, to 2012 the Java evolute obtained seven versions, many improvements and fixes bugs. In 2011 the biggest “boom” in the java world was about the openjdk recently it's grew in exponential way, but there are some myths arount it, for example, some people know the openjdk like “poor brother” of SUN's JDK (actually Oracle...
on Jan 17, 2012
 In 1996, a group that I was working with devised a development process which we called Defect Driven Design, otherwise known as D3. We were a bit disappointed by not surprised that D3 never really caught on but just recently I saw a glimmer of hope for a revival. It was quite a surprise when about a year ago when Cameron Prudy started telling me about this great methodology called Defect...
on Nov 29, 2011

GUI

Recently I had the privilege of writing an article for Java Tech Journal about using HTML5 Server Sent Events in a JSF 2 User Interface.  I've made that article available here.
on Jan 4, 2012

Web Development Tools

The second edition of Java Magazine (November/December) will go out in few days. In the Part 2 of the my article, you will see in detail how to use JSON to handle the response returned to the HTML5 client. The first Part 1 of my article published in the first edition of Java Magazine (available here http://tinyurl.com/65jos8n) has shown how you can create and deploy quickly a Java EE...
on Nov 13, 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

Programming

This is a follow-up to last week's blog in which we introduced the new Client API in JAX-RS 2.0. In that blog, we defined a simple AtmService and showed how to use the Client API to access its resources. For example, the following code was used to check an account's balance: Client client = ClientFactory.newClient();String bal = client.target("http://.../atm/balance") ...
on Oct 20, 2011