Skip to content

Feed aggregator

Surprising results of autoboxing

There are a number of surprising consequences of auto-boxing. Some are more widely known than others. Most of them are due to the effect of caching of some auto boxed objects.   James Sugrue
Categories: Communities

Securing a BPEL in WebSphere Integration Developer 7 difference over WebSphere Integration 6

Today we look at how to add a role-based security to secure a BPEL. In WebSphere Integration Developer(WID) 6 there was no direct way to add a role to a BPEL at assembly level. In WID 7 we can assign a role to the whole BPEL this could not be done in WID 6. It makes security much easier. All you have to do is open your assembly diagram as in our example project below: ...
Categories: Communities

Arquillian with NetBeans, GlassFish embedded, JPA and a MySQL Datasource - Part II

This is a followup post to the one I did yesterday. Even if it was intended to be a more complex demo it turns out, that I missed a big issue with the setup. Everything works fine up to the point when you start introducing enhanced features to your entities. To name but a few: lazy loading, change tracking, fetch groups and so on. JPA providers like to call this "enhancing" and it...
Categories: Communities

Sending RHQ Alerts over XMPP

Enter The JBoss Matrix - Fri, 01/27/2012 - 16:49
Rafael has created a very cool server plugin to allow RHQ to send alerts to his Google account over XMPP. Not only that, but he was able to use that same XMPP channel to send commands to the RHQ Server, like another kind of CLI.

Watch his demo
to see how it works. Very awesome!

This is exactly the kind of innovation we envisioned the community being able to do via the server plugins, as I mentioned in my earlier blog entry titled "RHQ Server Plugins - Innovation Made Easy"

Nice job, Rafael!
Categories: Companies

Setting Custom Wallpaper with Android

Wallpapers are a nice way to customize your homescreen. There are many applications that allow you to change your wallpaper and they have huge databases with alot of wallpapers. An example is Zedge. But the main question is: How to they do it? Christopher Smith
Categories: Communities

Morphological Analysis and Named Entity Recognition in Lucene/Solr

This talk will show how the relevance of search results can be improved by using morphological analysis and named entity recognition. After briefly explaining the purpose of morphological analysis and of named entity recognition we will demonstrate their potential advantages for search, faceting, and clustering of search results in a life demo. Download session slides. Embed Tag:  ...
Categories: Communities

Persistance Options with Redis

Most people thinking of Redis, think of it is an in-memory datastore. This is totally true. However, there is a lot of misconception with the “in memory” part; as being if my redis server crashes I lose all of my data. This part is most definitely not true. Redis persists your data to disk and provides you with all of the knobs you are going to need to need to fine tune how often you’d...
Categories: Communities

Portugal Java User Group (JUG) - on tour with jBPM and Openshift

Enter The JBoss Matrix - Fri, 01/27/2012 - 09:43
I will be in Lisbon, Portugal on Feb 16 at the Portugal JUG with sessions on  jBPM and OpenShift. The abstracts are below and will soon be published on their JUG site , but it is in Portuguese so you might need some translation help!

JBoss jBPM Brings More Power to your Business Processes A Business Process Management System (BPMS) offers you the capabilities to better manage and streamline your business processes. JBoss jBPM continues its vision in this area by offering a lightweight process engine for executing business processes, combined with the necessary services and tooling to support business processes in their entire life-cycles. This allows not only developers but also business users to manage your business processes more efficiently. A lot has happened in the BPM area over the last few years, with the introduction of the BPMN 2.0 standard, the increasing interest in more dynamic and adaptive processes, integration with business rules and event processing, case management, etc. In this session, we will show you how jBPM5 tackles these challenges, discuss migration to this new platform and give you an overview of its most important features.
An OpenShift Primer for Developers to get your code into the Cloud
Whether you're a seasoned Java developer looking to start hacking on EE6 or you just wrote your first line of Ruby yesterday, the cloud is turning out to be the perfect environment for developing applications in just about any modern language or framework. There are plenty of clouds and platform-as-a-services to choose from, but where to start? Join us for an action-packed hour of power where we'll show you how to deploy an application written in the language of your choice - Java, Ruby, PHP, Perl or Python, with the framework of your choice - EE6, CDI, Seam, Spring, Zend, Cake, Rails, Sinatra, PerlDancer or Django to the OpenShift PaaS in just minutes. And without having to rewrite your app to get it to work the way the cloud provider thinks your app should work. 
Check the command-line fu as we leverage Git to onboard apps onto OpenShift Express in seconds, while also making use of the web browser do the heavy-lifting of provisioning clusters, deploying, monitoring and auto-scaling apps in OpenShift Flex. 
If you want to learn how the OpenShift PaaS and investing an hour of your time can change everything you thought you knew about developing applications in the cloud, this session is for you!
The schedule is shaping up like this:
  • 17h30 - Welcome and registration
  • 18h00 - JBoss Brings More Power to your Business Processes
  • 19h00 - An OpenShift Primer for Developers to get your Code into the Cloud
  • 20h00 - Drink and Networking

Location will be at Instituto Superior TA(c)cnico (IST) , see you there? ;-)
Categories: Companies

Removing the Need for a Menu Button on Android

To many, the inclusion of a menu button on Android phones is a bit messy. After all, the usability of iOS devices is spot on without this function. It makes me happy to see that Google is encouraging people to move away from using the menu button as more devices more to Ice Cream Sandwich, and to use the action bar instead. In the blog post,Tim Bray summarises by saying:  Article...
Categories: Communities

Oracle extends Fusion Applications availability to Windows

BloggingAboutJava.org - Logica - Fri, 01/27/2012 - 08:13
As promised Oracle is now supplying Oracle Fusion Applications on Windows. Most system administrators and installers will probably say, why is this important? Bringing Oracle Fusion Applications to Windows makes the application more accessible to the ‘common man’. Let’s be honest, the majority of IT does have knowledge and access to Windows, a smaller part has knowledge of Linux and an ever smaller [...] Related posts:
  1. Installing Oracle Fusion Applications: Where to start
  2. Oracle Fusion Applications: Installing Oracle Enterprise Linux (64bit) to host Oracle Identity Management
  3. Fusion Applications Final(ly) no more Beta version!
Categories: Companies

What's up with EclipseLink?

EclipseLink's Shaun Smith has recently been delivering a number of presentations on the status and future of the open source project. If you're curious about where innovative JPA projects are going, then you should check out this slide deck from Shaun.

ALT_DESCR

Here are the main themes covered:

REST: integration with JAX-RS to access relational data through REST with HTML 5 as the primary client with possibly JPA entities and persistence units defined via metadata with dynamic provisioning (i.e. no Java coding required).
EclipseLink NoSQL: annotations (@NoSql) and XML to identify NoSQL stored entities with initial support for MongoDB and Oracle NoSQL.
Multitenancy: already present in the shipping version of EclipseLink using the @Multitenant annotation and supporting different topologies with dedicated or shared application and/or database.

Next stop: EclipseLink 2.4 along with the June Juno Eclipse Release.

Mocking with JodaTime's DateTime and Google Guava's Supplier

If you're a seasoned unit tester, you've learned to take note when you see any code working with time, concurrency, random, persistence and disc I/O. James Sugrue
Categories: Communities

Java Thread Affinity support for hyper threading

A benefit of hyper-threading is the ability to support more threads without incurring the overhead of context switches. If your threads spend a high proportion of their time waiting for resources e.g. busy waiting on a data source, accessing main memory or waiting for short periods of time for IO, hyper threading can improve performance at little cost. However, hyper threading can impact...
Categories: Communities

Book Review: JavaFX 2.0: Introduction by Example

Although Oracle's changes to JavaFX at JavaOne 2010 and JavaOne 2011 have converted me from a skeptic to a James Sugrue
Categories: Communities

Spring 3 and Apache Commons JCS Exception

I’ve seen a couple of projects in the last few months that have needed to cache data between requests. The developers, not wanting to write their own caching module, decided that Apache Commons JCS fitted the bill and added it to their Maven POM using the latest version: James Sugrue
Categories: Communities

Arquillian with NetBeans, GlassFish embedded, JPA and a MySQL Datasource

This is an, let's call it accidental post. I was looking into transactional CDI observers and playing around with GlassFish embedded to run some integration tests against it. But surprisingly this did not work too well and I am still figuring out, where exactly the problems are while using the plain embedded GlassFish for that. In the meantime I switched to Arquillian. ...
Categories: Communities

VIDEO: SPRINGONE 2GX - THE RISE OF OAUTH

SpringSource.org - Fri, 01/27/2012 - 04:36

 The Rise of OAuth SpringOne 2GX 2011 was filled with great content on building better web applications. In this presentation, The Rise of OAuth, we get to learn about using OAuth in our web applications. This presentation is given by Spring expert Craig Walls. Craig talks about securing the modern web and how OAuth can help with that, showing how to secure and consume resources with OAuth.

Many thanks to InfoQ for coming to Chicago to record so many of the fantastic SpringOne 2GX presentations.

Categories: Open Source

Upcoming NetBeans Feature: Generate Implementing/Extending Class!

Another upcoming NetBeans IDE feature, already in the daily builds, is this hint, which appears when you put the cursor in a class declaration:

Similarly:

When the hint is invoked, the new class, with all its required methods, is automatically generated, as a separate class (a dialog pops up letting you specify the name of the class and the package where the class should be created).

How handy these small enhancements can be!

This particular enhancement was included for 7.2 specifically because of a remark Arun Gupta made during Devoxx last year. That small discussion in a hallway resulted in this issue being highlighted and implemented:

http://netbeans.org/bugzilla/show_bug.cgi?id=49559

Just pointing this out as yet further evidence that we're really listening to users and, between balancing the various requirements coming in from various sides, are making very sure that user requests are taken extremely seriously.

Categories: Open Source

Wumpus World Update

Enter The JBoss Matrix - Thu, 01/26/2012 - 23:15
I made further progress with Wumpus World today, as previously blogged here. The project is checked into drools-examples, execute "WumpusWorldServer" to run.
-larger sensor icons
-bump and scream sensors added
-left, right buttons now rotate left and rotate right.
-hero faces direction based on rotation
-can now shoot arrows
-wumpus can die
Categories: Companies