Tuesday Sep 20, 2011

Integrating NetBeans MultiView with XAM/XDM based XML Object Model

As part of my ongoing side-line work with the NetBeans Coherence Module I have finally had the time to reimplement the GUI Editor associated with the Coherence pof-config.xml file. As you may remember from my previous entry "Implementing XML Object Model based on XAM/XDM" I converted my existing JAXB Implementation of the pof-config.xml to the NetBeans preferred XAM/XDM model. Now it is time to change GUI interface so that it uses this new XML Object Model. In addition because this will be shipped post NetBeans 7.1 I decided to use the new NetBeans MultiView functionality.

Read More >>

Friday Jul 08, 2011

Implementing XML Object Model based on XAM/XDM

As part of the the migration process for the NetBeans Coherence Module I have decided to migrate my Java/XML implementation from JAXB to a XAM/XDM based model because it will be a more appropriate fit for the advanced XML editor functionality and will remove some of the synchronisation issues seen in my initial release of the NetBeans Coherence Plug-in . As part of this development process I decided that it would be good to put together a simple tutorial that will allow others to repeat the process and cement the development strategy within my own mind.

At present their is currently no automated method of generating XAM/XDM Java Interfaces / Implementation classes similar to that provided by JAXB (maybe a future project if I get time) so I will be documenting my approach to the development process. The NetBeans Coherence module provides editors for the three core Coherence XML files "POF Config", Cache Config" and "Coherence Operational" and for this tutorial I will be working with the pof-config XML file. With Coherence 3.7 the Coherence team has provided XSD definitions of the XML files and hence I will be working with these as the source for my implementation.

A future Blog entry will explain how I link the XAM/XDM Model describe here to the existing Advanced POF Editors within the Coherence Netbeans Module.

Read More

Monday Jun 06, 2011

Netbeans Coherence Code Generator Plug-in Update

Over recent months I have been talking with the NetBeans development team and we are not looking at building the Coherence Plugin into NetBeans as a coure module.

Read More

Thursday Dec 16, 2010

Netbeans Coherence Code Generator Update

This short blog entry is just to inform those interested that their has been an update to the "Coherence Code Generator NetBeans Plugin". This new update adds a number of Coherence Java Templates that can be accessed from the NetBeans New File menu option.

Java Templates

The plugin and updates can be accessed either from the NetBeans Plugin Portal or by adding the a reference to my update centre defined below.

<script type="text/javascript"> $(document).ready(function(){ $("#historydiv").load("../resource/coherence/CoherenceNetbeansPluginHistory.html"); $("#historydiv").load("resource/coherence/CoherenceNetbeansPluginHistory.html"); }); </script>

Tuesday Nov 16, 2010

Oracle Coherence A Netbeans Plug-in

Recently I have been working with the Oracle Coherence product and noticed that when using the, recommended, POF Serialization functionality I seem to be writing a lot of similar code. When using POF Serialization you need to implement the PortableObject interface and write a readExternal and a writeExternal method which deserialize and serialize the class properties respectively.

Now this can become a bit tedious so to improve my NetBeans development environment I decided to implement a some auto generation functionality to take away the need to manually create these methods. In addition to the generation of the POF methods I also implemented an alternative that generates an Inner Serializer class and its associated methods, as defined in Alek Soevic's book "Oracle Coherence 3.5", the final part of the plug-in is the ability to create and run Coherence cluster nodes from within NetBeans.  At the moment I have built this plugin within NetBeans 6.9, but it runs fine on 6.10, and it can be downloaded from the NetBean Plugin Portal.

The rest of this blog entry will describe the functionality provided and how to create and configure a Coherence instance within Netbeans.

[Read More]
About

As a member of the Oracle A-Team we specialise in enabling and supporting the Oracle Fusion Middleware communities.

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today