Wednesday Dec 21, 2011

WebLogic 12c and Coherence: OTN Virtual Developer Day in Jan/Feb 2012



Oracle WebLogic Server 12c is now available for about 2 weeks. Do you know it comes with an easy-to-use zip installer ? Have you downloaded and tried it ?

An OTN Virtual Developer Day is coming to talk about the latest and greatest features in WebLogic Server 12c. This is your chance to immerse yourself in learning how WebLogic Server 12c supportes the Java EE 6 standards how Maven support is enhanced and made much more feature-rich, extensive integration with NetBeans and Eclipse will be practised using hands-on lab sessions, and there will be opportunity to learn about Coherence as well.

The complete agenda and session abstract is available here.

When ?
Americas, Jan 24, 2012
Europe/Russia: Feb 7th, 2012
Asia Pacific (English): Feb 9, 2012
Asia Pacific (Chinese): Feb 21, 2012

Just register online here!

Also check out the following useful links:
  1. Replay from online launch event + developer deep dive
  2. WebLogic Blog
  3. Online Documentation
  4. WebLogic Server Data Sheet

Also check out the social presence of WebLogic by clicking on the image below:



All the information about WebLogic Server is available from oracle.com/weblogic!

Monday Dec 12, 2011

JavaOne Latin America 2011: A Great combination of Geeky + Fun


JavaOne Latin America concluded last week. The Java EE team delivered the technical keynote, several sessions, a hands-on lab, dinner with the Java EE hornblowers, attended good booth traffic, and had numerous hallway conversations.

The keynote on the first day sharing the overall stratategy for Java SE, Java EE, Java ME, and Java FX. The technical keynotes on the second day provided more details on each of these technologies with extensive product demonstrations for each one of them. Check out Geertjan's blog explaining an end-to-end demonstration using Java FX -> Java EE -> GlassFish -> MySQL.

The community keynote on the third day was organized by Bruno Souza and Fabiane Nardon. There were very little slides and mostly demos and interaction with other community folks. A complete replay of the community keynote is available here. I was fortunate to be included as part of this fun keynote. Vinicius demonstrated how jHome (a Duke's Choice Award winner) can be used to open up a website driven by my heart beat. Watch the video below (in Portuguese):



jHome certainly has very far-reaching implications. Imagine a doctor being able to monitor your heartbeat remotely or use it for beer mashing ;) Their next stop is JFokus, Feb 14, 2012.

The Brazilian chapter of jDuchess was also launched by Yara, Ana Abrantes, and Loiane Groner as part of the keynote. Follow @jDuchessBR or like facebook.com/jDuchessBR for more details.

Another fun part when the Odwalla bars left over from the Geek Bike Ride were distributed during the keynote, proud to be an Odwalla ambassador!

An earlier blog on the Geek Bike Ride provide more details about a fun bike ride with several local Java geeks. The Java Spotlight Podcast episode #60 also covers an interview with Yara and Vinicius Senger on Global Code's 10th anniversary.

There is definitely a strong interest for Java EE in Latin America as all the sessions were completely packed. The JAX-RS 2.0 session was even moved to a much bigger room. The complete set of Java EE slides presented by Oracle speakers are given below:




Adam, John, and I also delivered a hands-on lab on "Develop, Deploy, and Monitor a Java EE 6 Application with Clustered GlassFish 3.1". The packed room with about 40 attendees learned:
  • Walk through and deploy a typical Java EE 6 application using NetBeans and GlassFish.
  • Create a two-instance GlassFish cluster and front end with a Web server and a load balancer.
  • Demonstrate session replication when one of the instances fails.
  • Use the extensible monitoring infrastructure to generate application-specific monitoring data.

Most of the attendees were able to complete the lab. The complete lab instructions are available.

Also check out a video with Fabiane Nardon talking about zero downtime with Java EE and amazing performance using GlassFish:

Check out some pictures from the last day ...









And check out the complete album ...



More pictures from Loiane Groner and Marcleo Quinta.

And finally leaving you with some tweets seen on #javaonebrasil ...

Best java conference in Brazil!
JavaOne Latin America - Brazil is the most cool conference I ever attended! Great job Oracle, and thanks for everything!
#javaonebrasil foi MARAVILHOSO! A comunidade brasileira fechou o evento com chave de ouro! #fb (translated to " #javaonebrasil was WONDERFUL! The Brazilian community closed the event with a golden key! # fb"


Thank you Latin America for yet another wonderful JavaOne!

GlassFish Partner Showcase: Logicstyle talking about Java EE 6 and future - in English and Portuguese

At the recently concluded JavaOne Latin America, I had the opportunity to talk with Juliano Viana from Logicstyle about Java EE 6 and their love for GlassFish. Watch the brief interview (in English) below:



And Loiane Groner graciously helped us record the same video in Portuguese as well:



Enjoy!

Friday Dec 09, 2011

Get Started with Oracle WebLogic Server 12c - Using Zip Installer (TOTD #174)




Oracle WebLogic Server 12c is now available!

After you download the zip installer, here is how you get started on Mac OSX (the commands are highlighted in bold) ...

mkdir 12c
cd 12c
unzip ~/Downloads/wls1211_dev.zip
   creating: modules/
   creating: modules/endorsed/
   creating: modules/features/
  . . .
  inflating: wlserver/server/bin/setWLSEnv.sh 
  inflating: wlserver/server/bin/startNodeManager.sh 
  inflating: wlserver/server/lib/unix/nodemanager.sh
export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
export USER_MEM_ARGS="-Xmx1024m -XX:MaxPermSize=256m"
export MW_HOME=`pwd`
./configure.sh
**************************************************
WebLogic Server 12c (12.1.1.0) Zip Configuration

MW_HOME:   /Users/arungup/tools/weblogic/12c
JAVA_HOME: /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
**************************************************

Please wait while      771 jars are unpacked ...
...Unpacking done                                                                            0 to go

CLASSPATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/tools.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/weblogic_sp.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/weblogic.jar:/Users/arungup/tools/weblogic/12c/modules/features/weblogic.server.modules_12.1.1.0.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/webservices.jar:/Users/arungup/tools/weblogic/12c/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/Users/arungup/tools/weblogic/12c/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:

PATH=/Users/arungup/tools/weblogic/12c/wlserver/server/bin:/Users/arungup/tools/weblogic/12c/modules/org.apache.ant_1.7.1/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/jre/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Developer/usr/bin

Your environment has been set.
Configuring WLS...

BUILD SUCCESSFUL
Total time: 0 seconds
. $MW_HOME/wlserver/server/bin/setWLSEnv.sh
CLASSPATH=/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/lib/tools.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/weblogic_sp.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/weblogic.jar:/Users/arungup/tools/weblogic/12c/modules/features/weblogic.server.modules_12.1.1.0.jar:/Users/arungup/tools/weblogic/12c/wlserver/server/lib/webservices.jar:/Users/arungup/tools/weblogic/12c/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/Users/arungup/tools/weblogic/12c/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:

PATH=/Users/arungup/tools/weblogic/12c/wlserver/server/bin:/Users/arungup/tools/weblogic/12c/modules/org.apache.ant_1.7.1/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/jre/bin:/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Developer/usr/bin

Your environment has been set.
cd ..
mkdir mydomain
cd mydomain
$JAVA_HOME/bin/java $JAVA_OPTIONS -Xmx1024m -XX:MaxPermSize=256m weblogic.Server
<Dec 9, 2011 3:35:22 PM PST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<Dec 9, 2011 3:35:22 PM PST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true>
<Dec 9, 2011 3:35:23 PM PST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.1-b02-383 from Apple Inc..>

/Users/arungup/tools/weblogic/mydomain/config not found

No config.xml was found.
Would you like the server to create a default configuration and boot? (y/n): y
<Dec 9, 2011 3:35:25 PM PST> <Info> <Management> <BEA-140013> </Users/arungup/tools/weblogic/mydomain/config not found>
<Dec 9, 2011 3:35:26 PM PST> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:admin
Enter password to boot WebLogic server: <Enter the password as "admin007" - MUST have minimum of 8 characters and an alphabet and a numeral>
For confirmation, please re-enter password required to boot WebLogic server:
<Dec 9, 2011 3:35:33 PM PST> <Info> <Management> <BEA-141254> <Generating new domain directory in /Users/arungup/tools/weblogic/mydomain.>
<Dec 9, 2011 3:35:40 PM PST> <Info> <Management> <BEA-141255> <Domain generation completed in 7,234 milliseconds.>
<Dec 9, 2011 3:35:40 PM PST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 12.1.1.0  Wed Dec 7 08:40:57 PST 2011 1445491 >
<Dec 9, 2011 3:35:42 PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<Dec 9, 2011 3:35:42 PM PST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
<Dec 9, 2011 3:35:42 PM PST> <Notice> <Log Management> <BEA-170019> <The server log file /Users/arungup/tools/weblogic/mydomain/servers/myserver/logs/myserver.log is opened. All server side log events will be written to this file.>
<Dec 9, 2011 3:35:45 PM PST> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<Dec 9, 2011 3:35:46 PM PST> <Warning> <Store> <BEA-280109> <Unable to load the native wlfileio library for the persistent file store "_WLS_myserver". The store will use buffered I/O. The store is still operating in a transactionally safe synchronous mode. See store open log messages for the requested and final write policies.>
<Dec 9, 2011 3:35:49 PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY.>
<Dec 9, 2011 3:35:49 PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<Dec 9, 2011 3:35:50 PM PST> <Notice> <Log Management> <BEA-170027> <The server has successfully established a connection with the Domain level Diagnostic Service.>
<Dec 9, 2011 3:35:50 PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN.>
<Dec 9, 2011 3:35:51 PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING.>
<Dec 9, 2011 3:35:51 PM PST> <Error> <Server> <BEA-002606> <The server is unable to create a server socket for listening on channel "Default[2]". The address fe80:0:0:0:2acf:daff:fee4:f11a%0 might be incorrect or another process is using port 7001: java.net.BindException: Can't assign requested address>
<Dec 9, 2011 3:35:51 PM PST> <Error> <Server> <BEA-002606> <The server is unable to create a server socket for listening on channel "Default[1]". The address fe80:0:0:0:0:0:0:1%0 might be incorrect or another process is using port 7001: java.net.BindException: Can't assign requested address>
<Dec 9, 2011 3:35:51 PM PST> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.1.13:7001 for protocols iiop, t3, ldap, snmp, http.>
<Dec 9, 2011 3:35:51 PM PST> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
<Dec 9, 2011 3:35:51 PM PST> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
<Dec 9, 2011 3:35:51 PM PST> <Notice> <WebLogicServer> <BEA-000331> <Started the WebLogic Server Administration Server "myserver" for domain "mydomain" running in development mode.>
<Dec 9, 2011 3:35:51 PM PST> <Warning> <Server> <BEA-002611> <The hostname "localhost", maps to multiple IP addresses: 127.0.0.1, 0:0:0:0:0:0:0:1, fe80:0:0:0:0:0:0:1%1.>
<Dec 9, 2011 3:35:51 PM PST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING.>
<Dec 9, 2011 3:35:51 PM PST> <Notice> <WebLogicServer> <BEA-000360> <The server started in RUNNING mode.>

And the server is now finally started!

The administration console is accessible at localhost:7001/console and looks like:



And logging in with the username "admin" and password "admin007" shows the following page:



Are you with me so far ?

Follow the complete series here.

Oracle WebLogic Server 12c - Now Available, With Zip Installer! (TOTD #173)




Oracle WebLogic Server 12c is now available for download!

What are the main themes of this new release ?
  • Java EE 6 and Developer Productivity
  • Simplified Deployment and Management with Virtualization
  • Integrated Traffic Management
  • Enhanced Availability and Disaster Recovery
  • Much Higher Performance
  • Seamless Upgrade
Go get your zip installer now ...



Get a quick preview of the key features in this interview with Mike Lehmann at Oracle Open World/JavaOne Latin America 2011:



Also check out the following useful links:
  1. Replay from online launch event + developer deep dive
  2. Online Documentation
  3. WebLogic Server Data Sheet
All the information is available from oracle.com/weblogic!

Thursday Dec 08, 2011

JavaOne Latin America 2011 Pictures





















More coming later ...

In the mean while, check out the album ...

Wednesday Dec 07, 2011

Oracle WebLogic Server 12c Preview at Oracle Open World/JavaOne Latin America 2011 + Launch Playback




Get a quick preview of Oracle WebLogic Server 12c from Mike Lehmann (Sr Director, Product Management, Fusion Middleware at Oracle) at Oracle Open World/JavaOne Latin America 2011.

What are the main themes of this new release ?
  • Java EE 6 and Developer Productivity
  • Simplified Deployment and Management with Virtualization
  • Integrated Traffic Management
  • Enhanced Availability and Disaster Recovery
  • Much Higher Performance
  • Seamless Upgrade



And if you want to learn more about WebLogic 12c then a replay of the online launch event from last week is now available here. It covers 1-hour executive overview by Hasan Rizvi and 1-hour developer deep dive, with several demos, by Will Lyons.

Bits coming soon ...

Monday Dec 05, 2011

Java Geek Bike Ride, Sao Paulo - JavaOne Latin America 2011

The City of Sao Paulo marks one lane exclusively for bikers (the pedal ones ;) on Sundays and national holidays. The 45 km route through the city is served by tons of volunteers providing directions and safety with the traffic in other lanes. The lanes are well marked and is a way to make to promote healthy lifestyle in the city. The ride is mostly flat with one small hill towards the end. Check out CicloFaixa for more details.


Fabiane Nardon and gang used this opportunity to arrange a Geek Bike Ride for the local community to meet JavaOne speakers in an informal setting. Our bike angels Fabiane, Claudio, and Fernando did a fabulous job of keeping the riders together. Claudio not only completed 4000 km on his bike yesterday but is also one of the best know agile speakers in Brazil. I had the opportunity to work with Fernando on the release of the largest local guide deployment in Brazil and he is a sharp guy. And everybody knows Fabiane, a Java Champion, Duke Choice Award winner, entrepreneur, java.net Tools Community Manager, and a lot more.

There were no technology discussions, just pure fun, laughter, and a great workout!

I shared a bunch of Odwalla bars with all the bikers and they were well appreciated. Check out the picture below for the riders getting powered by an Odwalla bar before the ride:



Check out the bike route:



And some pictures ...



Check out lot more pictures at:


Thank you bike angels Fabiane, Claudio, and Fernando for guiding us through the wonderful bike ride. JavaOne San Francisco 2011 had its first community run and now this fun bike ride. Lets see where it goes next :-)

Now, JavaOne Latin America starts tomorrow. There is tons of exciting content there and looking forward to lots of nerdgasms there!

Saturday Dec 03, 2011

Java EE 7: Key features, Specifications, Projects, Mailing List Archives, ...

An update and summary of the key features of different specifications in the Java EE 7 platform ...

Java EE 7 (JSR 342)
  • The main theme is to easily run applications on private or public clouds
  • The platform will define application metadata descriptor to describe PaaS execution environment such as multi-tenancy, resources sharing, quality-of-service, and dependencies between applications
  • Embrace latest standards like HTML5, WebSocket, JSON and have a standards-based API for each one of them
  • Remove inconsistencies between Managed Beans, EJB, Servlets, JSF, CDI, and JAX-RS
  • Possible inclusion of JAX-RS 2.0 in the Web Profile, revised JMS 2.0 API
  • Technology Refresh for several existing technologies (more on this below) and possible inclusion of Concurrency Utilities for Java EE (JSR 236) and JCache (JSR 107)
  • Status

JPA 2.1 (JSR 338)

  • Support for multi-tenancy
  • Support for stored procedures and vendor function
  • Update and Delete Critieria queries
  • Support for schema generation
  • Persistence Context synchronization
  • CDI injection into listeners
  • Status

JAX-RS 2.0 (JSR 339)

  • Client API - low level using builder pattern and possibly a higher level on top of that
  • Hypermedia - easily create and process links associated with resources
  • Form or Query parameter validation using Bean Validation
  • Closer integration with @Inject, etc
  • Server-side asynchronous request processing
  • Server-side content negotiation using "qs"
  • Status

Servlets 3.1 (JSR 340)

  • Optimize the PaaS model for Web applications
  • Multi tenancy for security, session, resources, etc.
  • Asynchronous IO based on NIO2
  • Simplfiied asynchronous Servlets
  • Utilize Java EE concurrency utilities
  • Enable support for WebSockets
  • Status:

Expression Language 3.0 (JSR 341)

  • Separate ELContext into parsing and evaluation contexts
  • Customizable EL coercion rules
  • Reference static methods and members directly in EL expressions
  • Adding operators like equality, string concatenation, and sizeof etc.
  • Integration with CDI such as generating events before/during/after the expressions are evaluated
  • Status

Java Message Server 2.0 (JSR 343)

  • Ease of development - changes to the JMS programming model to make the application development simpler and easier
  • Remove/Clarify ambiguities in the existing specification
  • Integration with CDI
  • Clarification of the relationship between JMS and other Java EE specs
  • A new mandatory API to allow any JMS provider to be integrated with any Java EE container
  • Multi-tenancy and other cloud-related features from the platform
  • Status

Java Server Faces 2.2 (JSR 344)

  • Ease of Development - making configuration options dynamic, make cc:interface in composite components optional, shorthand URLs for Facelet tag libraries, integration with CDI, OSGi support for JSF artifacts
  • Support implementation of Portlet Bridge 2.0 (JSR 329)
  • Support for HTML5 features like HTML5 Forms, Metadata, Heading and Section content model
  • Flow management, Listener for page navigation events, and new components like FileUpload and BackButton
  • Status

EJB 3.2 (JSR 345)

  • Enhancements to the EJB architecture to enable PaaS, such as multi-tenancy
  • Factorization of container-managed transactions to use outside EJB
  • Further use of annotations
  • Alilgnment and integration with other specifications in the platform
  • Status

CDI 1.1 (JSR 346, more details)

  • Global ordering of interceptors and decorators
  • API for managing built-in contexts
  • Embedded mode to allow startup outside Java EE container
  • Declarative control over which packages/beans are scanned in an archive
  • Injection for static members such as loggers
  • Send Servlet events as CDI event
  • Status

Bean Validation 1.1 (JSR 349)

  • Integration with other Java EE specs
    • JAX-RS: Validate parameters and return values on HTTP calls
    • JAXB: Convert constraints into XML schema descriptor
  • Method level validation
  • Apply constraints on group collection
  • Extend the model to support AND and OR style composition
  • Status
JCache (JSR 107)
  • API and semantics for temporary, in-memory caching of Java objects, including object creation, shared access, spooling, invalidation, and consistency across JVMs
  • Package: javax.cache
  • Status
    • Approved by the JCP
    • Spec lead: Yannis Cosmadopoulos, Cameron Purdy (Oracle) and Gregory Luck (Software AG)
    • Project page: jsr107spec
    • Mailing List Archive: jsr107@googlegroups.com

State Management (JSR 350)
  • API that can be used by applications and Java EE containers to offload the responsibility of statement management into third party providers with different QoS characteristics
  • Java SE-based callers can access the state data by querying the state providers
  • Providers with different QoS can be added and API callers can query to meet their criteria
  • Package: javax.state and javax.state.provider
  • Status
Batch Application for the Java Platform (JSR 352)
  • Programming model for batch applications and a runtime for scheduling and executing jobs
  • Defines Batch Job, Batch Job Step, Batch Application, Batch Executor, and Batch Job Manager for the standard programming model
  • Package: javax.batch
  • Status

Concurrency Utilities for Java EE (JSR 236)

  • Provides a clean, simple, independent API by building on JSR 166, making it appropriate for use within any Java EE contianer.
  • Package: javax.util.concurrent
  • Status
    • Approved by the JCP
    • Spec lead: Anthony Lai, Naresh Revanuru (Oracle)
    • Project page:
    • Mailing List Archive:

Java API for JSON Processing (JSR 353)



The Expert Groups for most of the JSRs have already been formed but you can still participate by joining the publicly visible aliases and reviewing the drafts. All the JSRs following JCP 2.8 are run more transparently and some of the highlights on that front are:

  • Names of the EG members are publicly visible
  • EG business reported on publicly readable alias
  • Schedule is public, current and updated regularly
  • Public can read/write to a wiki to discuss the status so far
  • Discussion board on jcp.org
  • Public read-only issue tracker

And you know all of this will be integrated in GlassFish - the Reference Implementation for Java EE 7!

Check out some early work at glassfish.org/javaone2011.

About

profile image
Arun Gupta is a technology enthusiast, a passionate runner, author, and a community guy who works for Oracle Corp.


Java EE 7 Samples

Stay Connected

Search

Archives
« December 2011 »
SunMonTueWedThuFriSat
    
1
2
4
6
10
11
13
14
15
16
17
18
19
20
22
23
24
25
26
27
28
29
30
31
       
Today