Skip to content

Companies

ADF 11g: Select all rows in an ADF table.

AMIS Technology blog - Thu, 07/29/2010 - 23:59
I get a lot of questions on how to select all rows in a table. In this post I describe how you can do that. A common use case for this is when you want to apply changes on a set of records, for instance change the status of all records in a table. You [...]
Categories: Companies

AM Service Method - Simple Demo

Shay Shmeltzer's Weblog - Thu, 07/29/2010 - 22:15

About once a week I find myself pointing people to the information in the Fusion Developer Guide about the usage of AM Service Method.
This is usually when people try to find out how to access view objects from a backing bean, or even worse when they try to find out how to access HTTP objects from their ADF BC layer.

So beyond pointing to the doc on AM service methods, I recorded a very short and simple demo to show the basics.


Categories: Companies

External Views (XML based)

AMIS Technology blog - Thu, 07/29/2010 - 21:05
Something new? Eh? Should you do this? Eh? In all, probably not, but for me this was a good exercise towards some more updated demo scripting for my “Boost your environment with XMLDB” presentation or hopefully more clearer relabeled Oracle Open World name for the almost same presentation called “Interfacing with Your Database via Oracle XML [...]
Categories: Companies

GlassFish Patches now at Oracle Support

SunSolve was, and still is, Sun's way of distributing patches; the equivalent mechanism at Oracle is My Oracle Support (MOS), and Gerry just announced thatSun patches now available there. This includes the GlassFish commercial patches like 128640-20, which is one of the patches in GlassFish 2.1.1 patch 6.

I just looked directly for the patch ID (using Sun's patch number), I'll try to dig more info on how to use MOS and will post it later on.

San Francisco 1/2 Marathon - 2010 Results

Miles to go ... - Arun Gupta - Thu, 07/29/2010 - 14:56

I ran San Francisco 1/2 marathon over the weekend and improved my timing from last year by 3 minutes. I guess dance at a pre-wedding ceremony and 4 hours of sleep the night before slowed me down otherwise could've pushed harder. Anyway the results are still encouraging and the bar is higher for the next time!

This makes me among top 1.2 % runners overall, top 2.5% for "Men", and top 2.3% in "M 30-39" category. Here is the overall leader board:

I'm about 20 minutes behind the winner (5:47 pace) and so need to push really hard to close the gap there. Who knows I may win one day, but for now the plan is to close the gap as much as possible. Seems really difficult, but not impossible!

And I almost made it to the women's leader board ;-)

Michael Wardian, a popular American marathoner and ultramarathoner came second in the full marathon. It was a pleasure to see him cruising back on the Golden Gate birdge.

Here are the mile splits:


One thing clearly evident from the splits is that any amount of hill training is less. This is all the more evident by looking at speed / elevation chart:


Click on the image to replay the race.

And finally here is race route:

Here is the cumulative result of all the marathons so far:

Marathon / Half Marathon Total Time Pace San Francisco 1/2 Marathon 2010 1:35:42 7:18 San Jose Rock-n-Roll 2009 1:30:59 6:57 San Francicsco 1/2 Marathon 2009 1:38:21 7:31 Kaiser Permanente San Francicsco 1/2 2009 1:41:30 7:45 Silicon Valley 1/2 2008 1:45:42 8:04 San Francisco 1/2 2008 1:52:44 8:25 San Francisco Full 2007 4:04:33 9:20 Silicon Valley Full 2006 4:06:57 9:25 San Francisco 1/2 2005 1:48:50 8:18


Technorati: running marathon results runsfm sanfrancisco


Categories: Companies

GlassFish at FISL

Alexis and Arun went to FISL11 at Porto Alegre (Wikipedia, GeoMap) and have provided reports including photos; see Alexis' Back from FISL, and Arun's AFISL 2010 Trip Report.

Alexis's slides are available via SlideShare: GlassFish OSGi - from modular runtime to hybrid applications and The future of the GlassFish community.  Arun's presentation was all demos, which he has also made available as a YouTube playlist.

Open Source is very strong in Brazil (see for example this post). As you can see from our GeoMap, GlassFish has a fair amount of adoption, but we need to improve our outreach. If you have suggestions or want to contribute, post them as comments on this entry, or contact us at theaquarium at sun dot com.

QA#4: Java EE 6: Developers focus on business logic, Much lower TCO - by Johan Vos

Miles to go ... - Arun Gupta - Wed, 07/28/2010 - 23:07

Jigsaw puzzle, modular, standard, integrated specifications, simple, annotation-driven, standards compliance, vendor independence, and light-weight deployment are some of the benefits highlighted by the Java EE 6 community.

In the Java EE 6 Feedback from Community series you can learn about how Java EE 6 is currently being used in production, development and deployment environments used within the community, and even feature requests for Java EE 7.

This entry comes from Johan Vos who started to work with Java in 1995. He worked on the Java Linux port with the Blackdown team. He has been doing Java consulting and development for a number of customers in completely different areas. Over the years, he has been active in a number of Java-based community projects, e.g. OSGi, the Glassfish project and JFXtras.org. With LodgON, the company he co-founded, he is mainly working on Java solutions for social networking software. Since he can't make a choice between embedded development and enterprise development, his main focus is on end-to-end Java, combining the strengths of back-end systems and embedded devices. His favorite technologies are currently Java EE / Glassfish at the backend and JavaFX at the frond-end.

Here is a short summary of Java EE 6 from him:

Developers can concentrate on business logic, Java EE 6 is providing a standard for the infrastructure

Read on for other fun stuff ...

1. How are you using Java EE 6 today ? What limits your adoption ?

I'm using Java EE 6 in most of the Enterprise projects I'm doing. This is not a requirement, but it turns out that when talking to people about what they really want, the Java EE 6 platform provides lots of the components that are needed to create an end-to-end solution.

Java EE 6 has evolved since the announcement of J2EE. It became more usable, and easier to develop and configure. In the past, a large number of non-standard libraries and frameworks have been developed since J2EE was too complex for most simple problems. The Java EE expert group clearly has learned from these evolutions, and the current Java EE 6 spec provides the functionality that is available in those frameworks, but as a standard. This is a huge benefit.


2. What Java EE 6 technologies are you using and why ?

I often use JPA. In earlier versions of the Java Enterprise standard, it was very hard to use the persistence layer in order to connect to a database. It was often easier to write your own connection pooling system, and perform SQL queries. But with JPA 2.0, it became much easier to manage the persistence.

I'm using (stateless) Session Beans as well, including the new Singleton Bean, combined with the @Startup annotation. The latter makes it much easier to perform tasks that need to be done only once.

I'm also using JAX-RS and Jersey frequently. In particular, I use Jersey for the communication with clients based on XML. The Transaction API is also something that I often use, either explicitly or implicitly.

3. What is your development and deployment environment ?

I'm mainly using NetBeans 6.9 on Linux. I download the full version of NetBeans, since I need both Java EE as well as JavaFX. NetBeans 6.9 comes pre-installed with Glassfish 3.0.1, so there is no need to download a whole application server to start Java EE 6 development.


4. What previous versions of Java EE / J2EE have you used ? How has the migration to Java EE 6 benefited ?

I've been working with Java EE since version J2EE 1.2. I have always avoided to migrate projects from older to newer versions, but I always start new projects on the latest released version. Early version of J2EE required more implementation-specific XML configuration (remember the sun-cmp-mappings.xml), and once you've done this you don't want to change this. Once projects are in deployment, you cannot easily change the runtime procedures.

Operations are often carried out by a different group than the development team. New versions of the J2EE/Java EE standard require changes in development but also in operations.

One of the benefits of Java EE 6, however, is that it also simplify the packaging and deployment procedures. Using annotations in JAX-RS and Servlets, for example, eliminates the need of XML-based configuration files. And often these configuration files make the handover from development to production deployment difficult. Clearly, the TCO for an average Enterprise project can be much lower when using Java EE6.

5. Describe the benefits of Java EE 6 to you in 120 characters.

Developers can concentrate on business logic, JavaEE6 is providing a standard for the infrastructure.


6. Advice for anybody who is looking at Java EE 6 for their next project ?

Use what you need. Nothing less, and nothing more. Although much easier than 10 years ago, Java Enterprise development can be complex. There are 2 situations you have to avoid:

  1. Sometimes, developers don't know about the infrastructure already provided by the Java EE platform, and they are duplicating functionality in their own code. If you look at the JPA and the JTA for example, that provides functionality that is needed in most projects.
  2. In a number of other cases, I see developers using features that are available in the appserver, but that are not needed in their application. The Java EE 6 spec is a composition of a number of specifications, and you don't have to use all the sub-specs.

7.  What new features you'd like to see in Java EE 7 ?

Java EE 6 brought simplicity in complex enterprise applications, and made a significant move towards web-based projects. Indeed, the Java EE 6 specification is rather focused on the Web. While there are many usecases and real-world scenarios that have the Web as the most important client, I think there should be more attention for other clients, i.e. PDA, mobile phone, TV, JavaCard. Easy integration capabilities between those low-resource devices and high-end backend system will drive the adoption of Java EE.

From another point of view, more integration with the environment would be useful. For example, in a number of cases I would like to execute a specific EJB-call once CPU load is below 50%, or once disk usage is too high. I understand this is rather difficult to standardize in a non-platform dependent way.

Thanks you Johan for taking time to prepare the answers!

Are you using, consulting, training, authoring books, etc in Java EE 6 ? Drop a comment on this blog and I'll line you up for the Q&A session :-)

The Java EE 6 hub is your key resource to learn all about the technology.

And you can always try all Java EE 6 features in GlassFish. Here is an extensive of Java EE 6 & GlassFish demos is available.

Technorati: javaee6 community feedback johanvos glassfish v3


Categories: Companies

GORM Gotchas (Part 3)

SpringSource Team Blog - Wed, 07/28/2010 - 16:10
It's great to hear that people are finding these articles useful, so it's with great pleasure that I add another to the series. This time I'm going to talk about associations again, but with the focus on when they are loaded into memory. It's cool to be lazy One of the first things people learn [...]
Categories: Companies

FISL 2010 Trip Report

Miles to go ... - Arun Gupta - Wed, 07/28/2010 - 14:03
4998 attendees registered and participated at the 11th edition of FISL - the biggest open source conference in Brazil. This was my second year at FISL. Even though the attendance was slightly down from last year but there was no let down in the energy. With 13 parallel tracks and sessions running from 9am to 11pm, it can be absolutely overwhelming. However most of the sessions were in Portuguese (with no English translation) so I could not attend.

I presented on the Java EE 6 Toolshow to an audience of approx 200. This slides-free session showed how NetBeans 6.9 provides comprehensive tooling around Java EE 6 and GlassFish 3. The session showed:

  • Simplicity and ease-of-use for creating Java EE 6 web applications
  • Boost productivity using Deploy-on-Save and Session-preservation across multiple redeployments
  • JSP, Servlets 3.0, EJB 3.1 in Java EE 6 web apps
  • Database access using Java Persistence API 2.0
  • Using Facelets with Java Server Faces 2.0
  • Contexts & Dependency Injection 1.0 with JSF 2
  • RESTful Web services using JAX-RS

The screencast #30 made the session delivery quite a breeze and you can watch the entire session by watching the multi-part screencasts.

Meeting Bruno Souza and Fabiane Nardon was a good highlight of the trip. They are both fairly well known in the Brazilian community and we shared stories from last year's presence of Sun Microsystems at FISL. Check out their latest adventure at toolscloud.com where they provide open source tools-based development environment in the cloud.

Personally, I stayed for only couple of days because I had to come back to run a race (more on that in next blog) and attend a wedding over the weekend. A short trip but always good to spend face-to-face time with the local community.

Check out some pictures from the trip:



And the complete album at:


Technorati: conf fisl brazil oracle glassfish javaee6 netbeans


Categories: Companies

nWire Software joins the Eclipse foundation

nWire's blog - Wed, 07/28/2010 - 07:04

Today we have a big announcement: nWire Software joins the Eclipse foundation. You can read the full press release here. This is our way of showing commitment and support to the Eclipse community. We have been active members of the community for a long time and we are very pleased to finally make this step.

eclipse-marketplace-client.png

There are benefits for our users as well. First, we will be mirroring full Eclipse downloads on our site. The downloads are served using a very fast CDN based on Limelight infrastructure. Try it yourself, it is FAST. We are hosting all the popular downloads for Helios (Eclipse 3.6) and Galileo (Eclipse 3.5). Plus, you can choose to add nWire to the prepackaged download. This will save you the trouble of installing nWire later.

But that’s not all. Helios has a new snazzy Eclipse Marketplace client. It makes finding plugins and installing them so much easier. Now that we are Eclipse members, you can find and install nWire directly from the Eclipse Market place dialog box. It is simple and works great. To get started, select Help → Eclipse Marketplace...

Categories: Companies

The Big Merge is On

As promised, the big website merge, of Java.Sun.Com, Developers.Sun.Com and BigAdmin into OTN is here: as late this afternoon, the tree sites map into different sections at oracle.com/technetwork.  Read the details of the merge in Justin's post: We All Are One.

Remember: good feedback leads to happy endings - and be patient with us while we incorporate it!

Maven training in Europe

Sonatype Blog - Tue, 07/27/2010 - 14:00

Sonatype is excited to announce that we will be offering Maven & Nexus Virtual Training during European business hours starting in August.  Seats will fill up quickly, so be sure to book your training course today!

  • MVN-101 Maven Mechanics
  • Tuesday, August 10, 2010 – Wednesday, August 11, 2010 2:00pm – 5:00pm Central European Summer Time (GMT+2)
  • MVN-101 Maven Mechanics provides a full understanding of the Maven Project Object Model (POM), the Maven life-cycle, plug-ins and goals, multi-module Maven projects, and much more. It is a two-day virtual training course. For more details click here.
  • MVN-201 Development Infrastructure Design
  • Monday, August 30, 2010 – Tuesday, August 31, 2010 1:00pm – 5:00pm Central European Summer Time (GMT+2)
  • MVN-201 is for the advanced user that has a strong familiarity with the structure of the Maven POM & Maven multi-module project. Its topics cover advanced multi-module project architecture, enforcing standards with the Enforcer plug-in, installing/configuring a repository manager, as well as a continuous integration server. It is a two-day virtual training course. For more details click here.

Wondering if MVN-201 is a good use of your time and money? Check out what one of our training participants had to say about it here.

You can register online at our Sonatype Store. Please don’t hesitate to contact us if you have any questions or if you would like a custom course outside of the dates listed on our website.   A custom course for your organization does require a minimum of ten students. You can reach us at info@sonatype.com.

 
Categories: Companies

ADF 11g Skinning: Three ways to change look and feel

AMIS Technology blog - Mon, 07/26/2010 - 18:12
On the JDeveloper ADF forum there are many questions on how to change the look and feel of components. In this post I’ll explain three ways to do that. Setting skin Selector property For this we need to define a custom skin. <?xml version="1.0" encoding="ISO-8859-1"?> <skins xmlns="http://myfaces.apache.org/trinidad/skin"> <skin> <id>mySkin.desktop</id> <family>MySkin</family> [...]
Categories: Companies

Introducing the ADF Developers Conference

Shay Shmeltzer's Weblog - Mon, 07/26/2010 - 17:37

Are you interested in a conference dedicated to Oracle ADF?

How about 5 days where at every time slot you can find at least one ADF session?
Wouldn't it be great if there were both basic level sessions for newbies as well as deep dive sessions for experts? How about some hands-on labs on specific topics?
What if we throw in a couple of keynotes from relevant senior managers in Oracle? And what if you'll be able to see sessions from all the ADF Oracle ACEs and participate in the ADF Enterprise Methodology Group live discussion? What if you could meet a JDeveloper Product Manager or an ADF book author and ask your question?

Would you be interested? Will you be able to convince your manager that this is the conference you need to go to?

Well, good news, this conference is here.

it's Oracle Develop!

Yes, all of the above is true for this year's conference.
Last time I counted there were over 30 sessions directly related to JDeveloper and ADF at Oracle Develop and OOW.
They spend the range from the introductory level with things like "Introduction to ADF Faces", or "Mobile development with ADF" to advance sessions like "How to Debug Oracle Application Development Framework Applications", "Classic Mistakes with Oracle Application Development Framework Internal APIs ", "Web-Service-Based Oracle ADF Business Components ", and more.

While some session are more high level, there are a lot of sessions that bring you the experience of others using ADF, tips and tricks sessions, sessions dedicated to specific parts of ADF (ADF DI, MDS, Skinning).
examples include: "Developing Large Oracle Application Development Framework 11g Applications", "Load-Testing Your Web Applications: Oracle JDeveloper and More", "Mastering Customization and Personalization in Oracle ADF and Oracle WebCenter"
,"Oracle WebLogic Server Application Security Implementation in Oracle JDeveloper"

Think you already know all of that there is to know about ADF, then you get a chance to expand your knowledge about the other parts of the Oracle Fusion Middleware - SOA Suite, WebCenter, WebLogic etc.
And for the same price you also get access to all the sessions at JavaOne to learn about what's coming up in the Java space.
Add to this some great networking opportunities, great parties (Steve Miller Band, Black Eyed Peas and more).

There is so much more, just go to the content catalog and search for ADF or JDeveloper and you'll see.

Tthis is truly the one event you should be attending if you are interested in expanding your knowledge of ADF and JDeveloper.

Don't miss it.

Categories: Companies

Ultimate Oracle source collection: part II, Siebel

BloggingAboutJava.org - Logica - Mon, 07/26/2010 - 14:23
The second in the ‘ultimate collection’ series is full of Siebel (re)sources. Note, that you might need an Metalink/Oracle Support account for some links! Links by Oracle self: The Complete CRM Blog: THE place to find out what’s new and what’s happening with the Oracle CRM product line. Siebel Customer Relationship Management (CRM) Applications: General [...] Related posts:
  1. Ultimate Oracle source collection: part I, PeopleSoft
  2. BI Publisher, the report generating tool for Siebel CRM
  3. Oracle goes Web 2.0
Categories: Companies

Developer Onboarding webinar this week

Sonatype Blog - Mon, 07/26/2010 - 14:16

There are only a few days left to register for Sonatype’s next  Maven Studio for Eclipse webinar.  This webinar is an introduction to Maven Studio for Eclipse’s Developer Onboarding capabilities.

How much time and money are you wasting on getting new developers up to speed on a project? 

Developers sacrifice days to the inefficient process of configuring a new development environment every time they begin a new project or set up a new workstation. Maven Studio for Eclipse’s Developer Onboarding cuts the configuring time from multiple days to minutes. Developer Onboarding allows an organization to standardize and capture development environment configuration in a single location, enabling developers to start coding with a single mouse click.

The webinar takes place on Thursday July 29 at 6:00am PDT. It will be led by Blaine Mincey, Senior Systems Engineer at Sonatype. Although this webinar is free, registration is required. We look forward to you joining us this Thursday!

 
Categories: Companies

Closed Networks and the GlassFish Update Center

One of the best features about all the versions of GlassFish 3 is how easy it is to update it through the IPS-based Update Center. The same GUI and CLI tools can be used to upgrade from 3.0 to 3.0.1, to Add or Remove components and to switch from the Open Source to the Oracle's Commercial release.

The same machinery is also used to install Commercial Patches, where it provides an experience that is much easier than in v2. With the transition to Oracle it's taken a bit to get the v3 patch pipeline, but eventually you will see the same frequency as with the v2 patches.

This all normally works through the standard repositories at Oracle but sometimes your computer has limited internet connectivity, so, what do you do? The solution is to create a local repository. This is actually Very Easy to Do (tm). And a local repository is also useful for many other things.

As you noticed if you followed the links, all these topics are now described in the, recently updated, Administration Guide; check out the Extending and Updating the GlassFish Server.

JavaOne News Update 1

An update on some recent News on JavaOne 2010. As you know JavaOne San Francisco is Sep 19-23, 2010. The Official page has links to the Registration Page and the Online Catalog. News updates include:

• A surprisingly useful & manageable Catalog-as-tweets via @javaoneconf
• Availability of Schedule Builder (post)
• Open enrollment in Java University (post)
• Announcement of dates for JavaOne Brazil and JavaOne China (post).
• The day before there is a MySQL Sunday!
• And, the Duke Awards submissions page seems to still be active.

Also, this year will be the 15th anniversary for Java, and the 5th for GlassFish.  Don't know if there will be a BDay party for Java; still hoping we can put something together for GlassFish, we will see!

More related news are tagged JavaOne.

Good Feedback and Happy Endings - The Ugly URLs

As everybody that does not live under a rock should know, we are in the middle of integrating Sun into Oracle, and one of the activities has been integrating the web sites. The first step was Moving the Docs, 3 weeks ago. That went pretty well... except for the ugly URLs...

I'm happy to report that, thanks to Exposure and Feedback and help from KenC, SteveH, JustinK, AdamM, HenrikS and others, the problem will be solved.

So, remember, your feedback (and your patience as we react to it!) is very important to quality. Keep that in mind as we continue our integration, including The Big Website Merge this next week.

Maintenance of the ARIS models and objects.

BloggingAboutJava.org - Logica - Fri, 07/23/2010 - 09:00
It is just important to maintain the ARIS models and objects in the right way. This maintenance in the different projects and environments is simple when everybody knows the way he must work. A good explanation to the designers and control of the recommended activities by the architect or the BPM department is necessary. In [...] Related posts:
  1. Implementing ARIS, some tips and tricks.
  2. Is ARIS the perfect tool for Process modeling?
  3. How to connect a PeopleSoft schema to ODI
Categories: Companies