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

Blogs by topic: Blogs

• 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 


J2SE

In this post, I try to give a reasonable account of Java's error handling system being as it is that the handling of errors is a concern that any reasonable programming language must find some way to contend with. Java's error handling methodology is based on an idea of exceptions. An exception is a condition that prevents your program from further executing along the current path. It signifies...
on Mar 5, 2014
If you have followed previous posts, you might begin to perceive a pattern in the semantics of the Java programming language. If not, it might help to go over previous posts as I tend to return to expand on previous topics or add clearer examples as time permits. Inner classes might at first seem like a whole new language to the uninitiated but they are a nice feature in Java that allow you to...
on Feb 20, 2014
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 to 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, under...
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
In object oriented programming, polymorphism is a feature that allows you to provide a single interface to varying entities of the same type. This is analogous to the interpretation of the same concept in the field of Biology. To understand how this works in Java, we must consider inheritance and the ways by which the Java programming language makes method calls. When you create a class in Java...
on Jan 7, 2014
There are mainly two ways by which one may reuse classes in Java. The first is by way of composition. Composition provides a way to compose your classes from objects of existing classes, essentially making use of the objects' functionality as opposed to its form. The second method is by what we call inheritance, which describes how one may derive a new class as a type of an existing class. With...
on Dec 18, 2013

Swing

Nimbus is a cross-platform look and feel introduced in the Java SE 6 Update 10 (6u10) release. It's not a perfect look and feel for several reasons but it has great potential. One of these reasons is the lack of window decorations support (Bug JDK-6675399). You can check the window decorations support of a look and feel by simply call the method getSupportsWindowDecorations on it....
on Feb 26, 2014

Web Applications

I presented this demo at DevNexus 2014 in Atlanta today. It is Reza's demo with just a pinch more Java EE thrown in. This blog entry covers how to fully internationalize an AngularJS application with just a pinch of Java EE. Reza hosts the code for this demo on his github. The demo has a chat client and a todo list. This blog entry only looks at the chat client, and assumes basic familiarity...
on Feb 25, 2014

Programming

This is a continuation of the previous post titled (Part 1 of 3): Synopsis of articles & videos on Performance tuning, JVM, GC in Java, Mechanical Sympathy, et al. Without any further ado, lets get started with our next set of blogs and videos, chop...chop...! This time its Martin Thompson's blog posts and talks. Martin's first post on Java Garbage...
on Feb 17, 2014
One day I found myself in the situation that I had to write a unit test which checks whether my code is annotated in a particular way. I wondered how one could do that without doing an integration test that actually processes that annotations. My first idea was to use the Reflection API, which in fact worked, but was not looking smart. In fact, I wanted to have a Hamcrest matcher instead, since...
on Dec 27, 2013

Accessibility

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

Community

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
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
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

Blogging

Real-World Machine Learning , Storm Applied, and Git in Practice -- MEAP updates + 45% savings. Use Promotional Code 012914jn at manning.com and Save 45% on these eBooks today! Real-World Machine Learning by Henrik Brink and Joseph W. Richards has been updated Chapter 1 and 2 and added Chapter 3. Chapter 3 covers the basics required to understand machine learning modeling. It focuses on the big-...
on Jan 29, 2014
Groovy Weather: POGOs, Gson, and Open Weather" by Ken Kousen of Making Java Groovy is 45% off with promotional code kousenjn at manning.com. The Open Weather Map web site provides weather information as a RESTful web service in JSON form. In this blog post, I show how to access the site using Groovy and convert the results into Groovy classes using Gson, the JSON parser from Google. The code...
on Jan 7, 2014

Databases

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

Performance

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