Print This Post

Getting a WebLogic Server supporting ADF Up and Running

When Jdeveloper 11G came out out I was excited! Excited at all the new features and innovations that were being put out by Oracle. Well that excitement has long wore off once I started trying to use the new Version.

Read the rest of this entry »

Print This Post

There Goes The Sun!

Good luck getting support for any Sun Training you might have purchased in the past.  Now that Oracle has officially taken over we are getting tossed aside like yesterday’s news.  Last year I purchased a Sun training pack for Java Certification, the SCJP Exam.  The pack came with training material and a test voucher so you can complete the exam.  I was going to schedule my exam but could not find my testing voucher number. Now the old Sun site I could login into my account and get all my information, not the case with the new site.  I logged in and could not find any of my purchased information or test voucher information.  I clicked on the contact link and filled in the form for support and received the following canned reply:

PEASE ALLOW 5 DAYS FOR A RESPONSE Read the rest of this entry »

Print This Post

JSF, J2EE Container Based Security and Handling Session Timeouts

        I have an application that uses the MVC approach and Oracle’s ADF.  The model and web portion of the application share a session to maintain user data and positions in the tables.  We had a problem of when the users session was timed out (set to an hour in the model and web.xml),  the J2EE Container would automatically take over and re-authenicate the user and take them back to their page. However, our application has custom code that runs when the users come through the index.jsp page that sets a view things and determines what their home page is.  Because the data-model is reset when a session times out and the page would not be in sync with the data model, causing data corruption in our system. Read the rest of this entry »

Print This Post

Using BIP in your JDEV Application

Working with Business Intelligence Publisher Reports in Jdeveloper 10g

JDeveloper is a great tool for writing your applications with the exception of lacking a usable reporting tool. For my projects I have been using Jasper Reports with a lot of success, however jasper is limited in some ways, so I am always looking for a new report tool. Oracle’s xmlpublisher / BI Publisher in it’s newest form looks like it might do the trick. Read the rest of this entry »

Print This Post

How to apply Sql packages and Scripts using Java

         I recently had the need to have my Jdev project apply sql packages and code to the server. The first place I looked was the Ant 1.2.6 source code, since ant has a sql task I thought it would be simple copy. While Ant can apply sql, it will tell you if the compile of the package or procedure went wrong. This article will present the class I created to apply sql to the server and track any errors produced. In the grand scheme of things this class will be implemented into our code building system that we are developing in house. Read the rest of this entry »

Print This Post

Coming Soon

I have been working on some tools for our build process. One of them is a class that can apply sql code to an Oracle Instance and check for errors.  The code is loosely based on the Ant SQL task, but takes it further by checking for errors in either the sql or the if you are applying a package or procedure. 

 

I will post the code soon!

Kelly

Print This Post

Jdev Goes Pink for Cancer Awareness Month

Show your support for Breast Cancer Awareness Month, turn your site pink. For more information please visit http://pinkforoctober.org/.

I have a family member who was affected by this type of cancer, and I would like to see a cure, please show your support, turn your site pink for the month of Oct.

Print This Post

Working with Entity Relationships

While the ADF that Oracle provides in JDEV is chock full of cool things, it seems that there are some things that could have been added to it. For example, you have two tables that are related by PK->FK relation that you want to represent in JDEV, the two tables use a trigger for generating the unique ids for the tables. JDEV handles this with a DBSequence, using temp Ids till the record is committed to the table, then it refreshed with the new permanent values. Read the rest of this entry »

Print This Post

Hiding and showing JSF components dynamically

Ever wondered how to hide and show components depending on what the user selects on your page. I had a recent requirement for a page that would show the users a list of reports, and depending on which report they selected, to show a list of values that they could select from for the report parameters. My problem is that I had four different tables that I wanted to use, and depending on the report type selected, show the associated table.

Using the PPR features of ADF and the data bindings I was able to get this done. Lets take a look how. Read the rest of this entry »

Print This Post

Using Jasper Reports in JDeveloper

I often see the question in the JDEV forums “How can I access Jasper Reports in Jdeveloper?”. Jasper reports is a great tool for reporting, it’s written in 100% java and its free to use. If you dont want to be burdened with hand coding your reports, I sugguest using IReport, which like Jasper reports its written in java and free.

Read the rest of this entry »