Tug’s Blog

Redis, NoSQL and more…

Online Public Libraries: Google Books and Now.. Europeana

| Comments

I am sure that you know about Google Books: http://books.google.com/

Even if I truly believe that Google wants the good by publishing all this information for free - We all remember the sentence: “Don’t be evil” that is part of the Google code of Conduct-. I think it is not a good idea to have only one service that provide access to the “world culture”… Competition is always good for consumer…

The French National Library (BNF) and some other public libraries (Hungarian, Portugal) have created a new site to offer a similar service in beta: http://www.europeana.eu. It is true that currently the list of books is really small compare to Google but I am inviting you to use both of then.

Tangosol Is Joining the Oracle Family

| Comments

During The Server Side Symposium in Vegas, Thomas Kurian announced that Oracle is acquiring Tangosol, during the keynote, Cameron Purdy (Tangosol’s CEO) has demonstrated how cool Coherence can be, and they have presented how it could be used in the context of XTP (Extreme Transaction Processing).

Soon more to come about this in the different technical side and blog of the Oracle’s community.

Grails vs Rails Performance Benchmark

| Comments

Graeme, the Grails Project Lead has published a very interesting benchmark of Grails versus Rails applications, that is available on the Grails wiki:

  • Grails vs Rails Performance BenchmarkingI let you read and comment on the Wiki the results… Grails development team is open to comment and improvement of the bench to capture as much information as possible.

It is also important to note that performances, productivity are very important when choosing a development environment; but something that is also key for enterprises, is the fact that Grails/Groovy “are” Java/J2EE based. This means that a Grails application is packaged, deployed, administered and monitored like any applications that already exist in the information system on J2EE application servers.

Using Groovy Within Oracle Data Integrator

| Comments

As you may remember, Oracle acquired few months back a data integration solution from Sunopsis, and has integrated it in our product under the name “Oracle Data Integrator” (ODI).

One of the first thing that I look when we got this product was the support for Scripting technologies, since it makes lot of sense to have such support in any ETL. And yes ODI has support for Jython (thought BSF). So when the dev team joined Oracle, I’ve asked the following question “did you try to use Groovy?”… I personnaly did not take the time to test, but one of the developer did and document it in his blog: “Using Groovy and ODI” from Thierry. When I get a chance I will provide a more complete sample of using Groovy in Oracle Data Integrator.

JavaEE 5 Features of OracleAS 10gR3

| Comments

OracleAS 10g R3 (10.1.3.x) is a certified J2EE 1.4 container, but OracleAS provides already support to some of the features of the Java Enterprise Edition 5: JavaEE 5. One of the key driver of the new EE version was simplification of the development and deployment applications. Here is the list of the JavaEE 5 features that are supported in OracleAS 10gR3 that will simplify the development of applications (in comparison to a standard J2EE 1.x development):

  • Java Persistence API (JPA) and EJB 3.0 (documention)

  • Support of shared library at the EAR level (<library-directory> / applib). (documentation). This comes in addition to the OracleAS 10gR3 classloader framework that allows administrators to create, and version shared libraries that can be used into applications by referencing them in the deployment plan.

  • Annotations Based Web Services (JSR181) that could be used for Java classes and EJB3 Session Beans (documentation)

  • Referencing resources using annotations in the Web container: @EJB, @Resource, @Resources, @PostConstruct, @PreDestroy, @PersistenceUnit, @PersistenceContext, @WebServiceRef, @DeclaresRoles, @RunAs (documentation) Hope that this small summary will give you the opportunity to test some of the features of OracleAS 10g.

Oracle Donates Toplink to Eclipse

| Comments

Oracle has announced yesterday during EclipseCon in Santa Clara (California) that it open-sources Oracle Toplink as part of the Eclipse Project.

The idea is to open source all the features of Toplink (ORM/JPA, OXM/JAXB, and EIS support), but also features that are currently under development and will be part of the Eclipse project:

  • Service Data Objects (SDO) implementation and SDO Data Access Service (DAS) that leverages JPA for use with SDO.* XR (XML-Relational) that provides a completely metadata driven approach to obtaining relational data as XML.
  • DBWS which exposes XR as a web service. With DBWS, you can easily build web services that access relational data without any programming.

One part will be kept by Oracle, this is the “glue” code that is used for the integration with OracleAS that is probably not useful for anybody but Oracle. For details check out the press release and the FAQ.

If you are at EclipseCon do not hesitate to visit the Oracle booth to learn more about this great news for the Java developers.

Netbeans : OC4J Support Available

| Comments

It has been a long time that I did not look in the update center and development wiki of Netbeans. And I have been very pleased to see that it is possible now to register OC4J 10g as a server in Netbeans 5.5 (and 6.0). To add it in your environment just do a :

  • Tools > Update Center
  • Select “Netbeans Update Center Beta”
  • Select OC4J 10gYou can then configure a new Server and run/stop the server from your IDE.

You can follow the development of this plugin directly in the Netbeans Wiki OC4J Support page.

Spring and Oracle: I21 Blog Entry About Oracle Contribution to Spring

| Comments

Rod Johnson in the Interface21 team blog entry named “Oracle Contributing Oracle Application Server Integration Code to Spring Framework” described the contribution of Oracle to Spring framework.

This contribution allows Spring applications to leverage the OracleAS transaction manager and its features. In addition to this contribution and some previous investments of Oracle in Spring, see the Oracle and Spring page of OTN; Oracle continues to invest more and more in Spring, as contributor or as user since, as stated by Rod, Spring has an important roles in Oracle Fusion Middleware, and its upcoming Services Component Architecture offering.

OC4J Tip: Changing the Server Information

| Comments

When you are running OC4J in stand alone mode you are using the HTTP server that is bundle with it. This HTTP server returns by default for the HTTP information the following information: Server: Oracle Containers for J2EE

If you want to change that you just need to set the http.server.header property. For example,

1
java -Dhttp.server.header="My blog on Oracle" -jar oc4j.jar

will now look like:

1
2
3
4
5
6
7
8
HTTP/1.1 200 OK
Date: Mon, 26 Feb 2007 21:52:53 GMT
Server: My blog on Oracle
Last-Modified: Mon, 09 Oct 2006 19:17:10 GMT
Accept-Ranges: bytes
Content-Length: 19882
Connection: close
Content-Type: text/html

Thanks to James Kirsh for this very useful tip…

The First International Grails eXchange 2007

| Comments

Packed with presentations on Grails, Groovy, Ajax & Web 2.0 and JavaEE and the core technologies that support the Grails technology, the first Grails eXchange conference (London from May 30th to June 1st) will be the place to be for any member of the Groovy/Grails community… You can already register on the conference web site: http://www.grails-exchange.com

Come to see speakers including Grails project lead Graeme Rocher, Groovy project lead Guillaume LaForge, creator of Spring Rod Johnson, Dojo’s Alex Russel and Dylan Schieman as well as speakers from technology-leading organisations such as Google, Interface 21, JBoss, Oracle & Sun Microsystems