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

In this post we will be looking at code for a system designed to integrate all of the devices used to provide surveillance and security to extensive physical premises such as malls, campuses, and industrial parks. The approach I am taking involves the actor paradigm and the Java programming language. The selection of actors for this type of application is based on a number of...

Web Development Tools

Bunyan is a NodeJS library that rethinks logging in some really useful ways. I wrote a Java port you can use in your applications.
In particular, with Bunyan, logs are JSON - and Bunyan comes with a great filtering and analysis tool.
The Java port uses some innovative techniques to make logging simple and foolproof - in particular, a use of AutoCloseable to make a logging code simple and...

Open Source

The Oracle Storage Cloud Service provides both REST and Java APIs for managing storage containers. As the REST APIs are OpenStack Swift compliant, you can also use third party tools such as the CloudBerry Explorer for OpenStack to manage your storage containers.
The values needed to add a new OpenStack Storage Account connection will be found in the REST Endpoint, which you can find on your...

This year, more more apache based company, I mean that a company that repackage, retest or make a bundle of Apache product, selling product in Indonesia.
And as we know, the ecosystem, like tech guy, expert in our region Asia Pasific, i never see.. but pre-sales and salesman, and industry leader, all over the country.
I make a small theory about this, because most of their product are based on...

Community

Indonesia has released the domain .id to public with Indonesia ID, and more more website using this domain, the domain is costly around $50/year.
in Another world, with this domain, we can make the domain become an identity portal.
And yes we are the one that using it (http://www.merv.id), and we also release the OAuth Server, take a look https://github.com/meruvian/yama, a 2-in-1 project that...

Since begin of the time, the man need to do exchanges of goods materials or services, began with simples goods exchanges. In this time, already has necessity to start the standardization process, the first step was using metals as gold, silver and bronze becoming to representative money today. Nowadays with large number of e-commerce and automation of finance market and another systems that take...

Tech Tip #25 showed how to configure WildFly on Raspberry Pi. Tech Tip #27 showed how to setup WildFly on two Raspberry Pis in managed domain mode. This tech tip will show how to setup a WildFly cluster over those two hosts.
WildFly supports mod_cluster out of the box. There are several advantages of mod_cluster:
Dynamic configuration of httpd workers
Server-side load balance factor calculation...

40+ Java User Groups from 6 continents have participated in WildFly 8 Launch so far, and a few more are still lined up. This has truly been a global participation so far, and truly reflects the spirit of Java community.
Several of these were delivered virtually primarily using G+ hangout, and then some in person during the travel by WildFly team. Lots of interesting conversations and feedback...

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

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

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

JSP

Oracle Developer Cloud Service is included as a free entitlement with Oracle Java Cloud Service and Oracle Messaging Cloud Service. The Developer Cloud Service includes all the tools you need to support the team development lifecycle. There are popular open source tools such as Git, Maven and Hudson. There's also task management, code reviews and a wiki.
The easiest way to experience the Oracle...

I was very pleased to see the JFrog team take me up on my suggestion early this year that "Maybe the JFrog team will consider giving a presentation on how they put all this together at JavaOne this September". Unfortunately for me, the session (Building a Massively Scalable Cloud Service from the Ground Up) was already filled to capacity as I walked up to the door, so I was unable to attend....

Blogging

Did you know that events where JBoss technologies are presented are listed in a calendar ?
Are you talking at an event about JBoss technology and its not listed here ? Do you know of any event where JBoss technologies are talked about and not listed in this calendar ? Send us a request by filling this form.
Subscribe to this calendar using any of the following links:
Here is a sampling of...

Web Applications

While parts of the cloud IT that are still being hyped are changing rapidly, the whole segment is not past the hype yet. The cloud report [1] that Gartner published 9 months ago still holds true today.
Reports of disillusioned customers of such solutions [2][3] are a clear sign that the hype might have reached its peak for most parts of cloud offerings, though. And while many articles discuss the...

Web Services and XML

It actually happened a few weeks ago already, but I simply didn't find the time to spread the word earlier -- just too much other stuff to do (see end of posting), so I tell you now: WebDAV Support for JAX-RS 1.2 is out!
What has happened since 1.1?
First of all, 1.2 is a complete internal overhaul, which not only finally is covered with unit tests rather completely (which revealed several...