My Article at OTN: Oracle Service Bus and Coherence caching example

Today I’ve published an article at Oracle Technology Network (OTN) about Oracle Service Bus and Oracle Coherence integration. It shows a case study example and how you can use caching strategies for  Web Services.

It’s a step-by-step tutorial on how to setup a Coherence Server with Weblogic, how to access this server with Coherence console and how to use out-of-process caching strategy to scale your caching with no impact on the Enterprise Service Bus.

To read the full article click here.

References:

Weblogic 10.3.5 Released!

And here we go! A new release of Weblogic Server is out now! Besides it’s still missing the support for Java EE 6, this release is more focused on fixes for Fusion Middleware and Fusion Applications.   Now I’m just downloading everything (around 5gb) again, SOA Suite, JDev, WLS….   New environment is on the way…

Detailed information: https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=1316076.1

What’s New from Documentation: http://download.oracle.com/docs/cd/E21764_01/web.1111/e13852/toc.htm

Java EE 6 – Complete Annotation Reference

Hi Folks,
It’s been a while since my last post but I expect to get back to blogging in the next month.

For now I’m sharing a complete reference for all annotations available in Java EE 6. As you already know, Java EE 6 is really changing the way to program for Java Enteprise platform and these annotations are responsible for hiding part of the complexity of EE development.

http://wikis.sun.com/display/GlassFish/Java+EE+6+Annotation+Reference

Enjoy!

Flashing Android Froyo in a Galaxy S with Ubuntu and Heimdall

As some of my friends know, I am now a happy Android user. In fact, for about 5 months already… But my phone shipped with ECLAIR version of Android (2.1) and since I’m an Ubuntu user, I would find a way to flash my device and update my firmware to FROYO without Window$ / VirtualBox traditional approach. For my surprise, there are some options to accomplish that and I’ll explain the one that worked for me.

Please Note: These steps worked for me but it’s possible that will not work for you. It’s a very stable procedure but $hit happens. Do follow the steps at your own risk.

UPDATE – The same procedure works with Android 2.3.3 (Gingerbread) firmware. Version I9000BVJJV3 – Jun 2011. Please check samfirmware website to download.

Heimdall

According to their website, here is a description:

Heimdall is a cross-platform open-source tool suite used to flash firmware (aka ROMs) onto Samsung Galaxy S devices.

It has ports for Mac OSX, Linux and even Windows, although most of the Windows users prefer to use Odin to flash their devices or even Samsung Kies.

You can grab heimdall packages for Ubuntu from their website -> http://www.glassechidna.com.au/products/heimdall/

For this tutorial I’m using Heimdall 1.1.1 command line tool. Using the GUI version I’ve got some strange behaviours and some times the GUI just said that Flash happened without any processing.

Android Froyo firmware download

To flash your device you must obtain the firmware version that you’ll apply. You have many options over the web to obtain different versions of Android. Some of them claims to be original ones from operators and some others modified/hacked versions with extra functionalities. I’ll stick with the “original” ones and since I’m in Brazil, my device has digital TV so I need to use a GT-I9000B firmware. Here are two options to download firmwares:

  • Samfirmwares -> http://www.samfirmware.com/firmwares.htm
    • The website requires login but it’s 100% free.
  • Apopovici’s Blog
    • These are specific to Brazil (or Latin America) region and has firmwares to Brazilian operators.

For this tutorial I’m using  Froyo 2.2 (Operator Free):

Procedure

  1. Install heimdall
  2. Uncompress the downloaded firmware package, in my case -> OK – 2.2 – FROYO – BRASIL SEM OPERADORA.rar
  3. Check if you have all the necessary files:

    -r--r--r-- 1 markito markito  13955072 2010-12-11 01:23 cache.rfs
    -r--r--r-- 1 markito markito   4833980 2010-12-11 02:04 zImage
    -r--r--r-- 1 markito markito    716800 2010-12-11 02:04 param.lfs
    -r--r--r-- 1 markito markito 254341120 2010-12-11 02:04 factoryfs.rfs
    -r--r--r-- 1 markito markito  12582912 2010-12-12 22:30 modem.bin

  4. Move or copy the PIT file (s1_odin_20100512.pit) to the same directory you uncompressed the firmware
  5. Put your device in download mode. On a Galaxy S you should hold -> home buttom + power buttom + volume downand wait until you see the Android logo with “Downloading” written below.
  6. Now that your phone is ready to receive a new firmware, plug the USB cable, wait a few seconds and type the following command in the same directory you have uncompressed all the files:

    heimdall flash --factoryfs factoryfs.rfs --cache cache.rfs  --param param.lfs --kernel zImage --modem modem.bin --pit s1_odin_20100512.pit

  7. Now you should wait a few minutes and expected for the best: successful messages. :-)
  8. Your device should boot and will stuck a few moments in the Samsung S logo. That’s normal because it’s the first boot of your new kernel. But your are ready to go now, firmeware updated!

If it worked for you, congratulations. If you had or still have some problems, please take a look at some of the sources that I’ve used to learn and apply to my device, maybe it will help.

Sources:

  • http://apopovici.wordpress.com/
  • http://forum.xda-developers.com
  • http://www.glassechidna.com.au/products/heimdall/

JAVA Standards in Weblogic 10.3.4

 

Standard Version
JAAS 1.0 Full
Java API for XML-Based Web Services (JAX-WS) 2.1, 2.0
Java Authorization Contract for Containers (JACC) 1.1
Java EE 5.0
Java EE Application Deployment 1.2
Java EE CA 1.5, 1.0
Java EE EJB 3.0, 2.1, 2.0, and 1.1
Java EE Enterprise Web Services 1.2, 1.1
Java EE JDBC 4.0, 3.0
Java EE JMS 1.1, 1.0.2b
Java EE JNDI 1.2
Java EE JSF 2.0, 1.2, 1.1
Java EE JSP 2.1, 2.0, 1.2, and 1.1
Java EE Servlet 2.5, 2.4, 2.3, and 2.2
Java RMI 1.0
JavaMail 1.4
JAX-B 2.1, 2.0
JAX-P 1.2, 1.1
JAX-R 1.0
JAX-RPC 1.1, 1.0 (deprecated)
JCE 1.4
JDKs 6.0 (aka 1.6), 5.0 (aka 1.5, clients only)
JMX 1.2, 1.0
JPA 1.0, 2.0

For information on JPA 2.0 support, see Support for JPA 2.0 Providers.

JSR 77: Java EE Management 1.1
JSTL 1.2
OTS/JTA 1.2 and 1.1
RMI/IIOP 1.0
SOAP Attachments for Java (SAAJ) 1.3, 1.2
Streaming API for XML (StAX) 1.0
Web Services Metadata for the Java Platform 2.0, 1.1

Source: http://download.oracle.com/docs/cd/E17904_01/web.1111/e13852/toc.htm

Follow

Get every new post delivered to your Inbox.