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

Blog Posts by Community

• 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

I've been blessed with the opportunity to speak at DevNexus 2014. This is my first time speaking at a DevNexus event and I'm excited at the opportunity to meet and learn from many top-name speakers currently practicing today. As I planned out my time here are the sessions I've added to my calendar. Day 1: Monday 24 February 09:00 Welcome and Sven Peters Keynote, Hall A From the buzz around...
on Feb 18, 2014
This blog entry describes an unsupported process for overwriting the version of Mojarra that comes bundled in WLS 12.1.2 and beyond with an arbitrary version (from groupId org.glassfish artifactId javax.faces). Sometimes it is necessary to upgrade the version of Mojarra that comes bundled in WebLogic Server with a different version, either newer or older. One such usage: the Mojarra team at...
on Feb 14, 2014
In every JSF application view state is kept either on the client or on the server. How do you make sure this state is smaller? The 'com.sun.faces.compressViewState' comes in handy here. It makes it so that the Mojarra runtime will Gzip compress the view state. Note the context-param is set by default to true, so only if you want to turn it off you will need to do something. In your web.xml file...
on Feb 12, 2014
Today we are covering what the "com.sun.faces.sendPoweredByHeader" context-param does. Historically the JSF runtime would send the "X-Powered-By" servlet response header that would tell what the backing engine was (for Mojarra 2.2.x it would show "JSF/2.2"). To make it possible to turn this on or off this context-param was introduced. From a security perspective it would be smart to keep it off...
on Feb 11, 2014
The "com.sun.faces.validateXml" context-param makes it possible for you to have the Mojarra JSF runtime verify your configuration files against the faces-config.xml schema. If an error is found you will immediately be made aware as deployment will fail until you fix the problem. Note when you are ready to go to production the "com.sun.faces.validateXml" context-param should be set to "false". In...
on Feb 7, 2014
By convention in Faces Flows the page that is the start node has the same name as the flow, but is it possible to change that? It sure is, read on! We'll dive into the Faces configuration file that will make this work. <faces-config version="2.2"              xmlns="http://xmlns.jcp.org/xml/ns/javaee"...
on Feb 6, 2014
The results of the most recently completed Java.net poll suggest that Java EE 7 is finding increasing use, impacting more projects and the daily work of more and more developers over time. This is one more indicator that the Java EE 7 release has to be considered a major success: the release occurred less than a year ago, yet the impact is already considerable. A total of 149 votes were cast...
on Jan 26, 2014
The JavaEE team at Oracle has been busy processing the feedback from the JavaEE 8 Community Survey Question 6 in part one of the survey reads: "Is there any one de-facto standard technology in this space [Server side web MVC framework, aside from JSF] to which we should look for inspiration". For those respondents that answered yes to that question, fully half of them cited Spring MVC. By way...
on Jan 13, 2014

Global Education and Learning

There is so much potential in extracting, processing and synthesizing the the multi faceted, realtime data that can be mined from social sites. Mining the Social Web by Mathew A. Rusell covers these topics scrupulously. Here is my detailed review of the book Chapter 1: Mining Twitter, Exploring Trending topics, Discovering what users are talking about This is an informative chapter which...
on Feb 17, 2014
What is Java? Java is an high-level programming language created by James Gosling from Sun Microsystems on 1991, released on 1995. Nowadays, Oracle Corporation has the steermanship for Java. Its license is GNU General Public License (GPL). Is executed on more than 850 millions of devices on all over the world. Java applications are compiled to bytecode that can run on any Java Virtual Machine (...
on Jan 30, 2014

Java Patterns

The new version of Easy-Cassandra, the version 2.0.1, have launched, some news are: Refactoring constructor on Session Factory QueryBuilder (InsertBuilder, UpdateBuilder, DeleteBuilder, SelectBuilder and BatchBuilder) Go faster both write and read Processors asynchronous More supports to Spring-Data As have an easier the configuration a Session Factory, it was made the ClustInformation, this...
on Feb 13, 2014

Open JDK

In the normal course of solving a general programming problem, it is almost certain that you will become compelled to create, and identify useful ways by which one may hold any number of objects within your program. In Java, you are normally inclined toward the array as the natural choice for holding a group of primitives, but this has the obvious limitation of being of a fixed size, whereas,...
on Feb 12, 2014
Interfaces are completely abstract classes in Java that provide you with a uniform way to properly delineate the structure or inner workings of your program from its publicly available interface, with the consequence being a greater amount of flexibility and reusable code as well as more control over how you create and interact with other classes. More precisely, they are a special construct in...
on Jan 18, 2014

Java Tools

The columnar storage is good, especially when there are lots of tabular fields (this is quite common). In querying, the data to traverse is far less than that on the row storage. Less data to traverse brings less I/O workloads and higher query speed. However, the Hadoop application consumes most time on the hard disk I/O without columnar storage. Both Hive and Impala support columnar storage, but...
on Jan 24, 2014
HTML Online Editor Sample I have been contemplating for a number of months about reviewing a cache of articles and videos on topics like Performance tuning, JVM, GC in Java, Mechanical Sympathy, etc... and finally took the time to do it - may be this was the point in my intellectual progress when was I required to do such a thing! Thanks to Attila-Mihaly for giving me the...
on Jan 17, 2014
Every once in a while I run into someone that has a JVM that is running back to back collections and yet the heap is still almost full after each attempt! When they discover that their problem is related to the JVM not having enough memory they often ask the question, why didn't the JVM throw an OutOfMemoryError? After all my application is not making any forward progress and the reason is Java...
on Jan 8, 2014

Java Desktop

Introduction to Class Diagram In any project's planning phase, the programmer should describe the behaviour of the different objects that are required to satisfy business use cases. However objects can't emerge from nothing, so you need a template that describe the type of objects that the system will have. As a result, you will need to show a diagram with all the classes involved and their...
on Jan 22, 2014
Why do we need to program? Technology is part of our life. The world is changing daily and everything is getting automated. Learn to program is the creative way we can take our ideas to the next level and express solutions to society. By designing programs, we learn several abilities like critical reading, analytical thinking and create synthesis. The programmer defines the problem, plans a...
on Jan 21, 2014
The Java is a platform which grown up quickly, for many rations such it can write once time and run anywhere, it runs languages on JVM. There is a myth that Java cannot compile its sources on run time, but it's truth? Have a dynamic language is important to make some projects, for example, calculate taxes to different cities, so the source should be on the database and each city it puts the...
on Jan 19, 2014

JCP

This is my first blog on java.net! Happy new year! At 2014/01/11, A big Java EE 7 event has been held on China Nanjing Software Valley jointly organized by China (Nanjing) Software Valley Joint Management Committee and China Nanjing Java User Group. ChinaNanjingJUG(http://q.weibo.com/1696581) is founded at 2013, and focus on the promotion of Java EE and Java related technology into China....
on Jan 13, 2014