Select Page

Art of BI: Deploy to two different application servers in real-time using Build.xml

Christian Screen | | July 16, 2011

Working on a JEE application, I had a situation where I was using NetBeans as my Java IDE and GlassFish Server as the application server.  Testing in GlassFish was easy but I needed to also test the same application in a WebLogic Server instance at the same time in real time.  Real-time here meaning that as soon as I made a change to a file in my NetBeans IDE that it would be reflected in my development app server connected already to Netbeans, GlassFish, and then updating a deployed Web Application in WebLogic Server.

This is where ANT comes in.  ANT of course is like Make but written for Java.

Anyway, in NetBeans you can simply update the build.xml file which ultimately can add or override existing target settings for the ANT build process.  The script below perfectly takes the compiled build directory files I required for this scenario from the application’s build directory and copies them to the WebLogic Server deployed application reference directory.   By right-clicking the NetBeans project and selecting the “Build” option, the build immediately hits these overridding target nodes in the ANT build.xml file and copies compiled application files where I need them.  This completely eliminates any manual copy and pasting. Sweet!

[sourcecode language=”xml”]



12c Upgrade Bug with SQL Tuning Advisor

This blog post outlines steps to take on Oracle upgrade 11.2 to 12.1 if you’re having performance problems. Oracle offers a patch and work around to BUG 20540751.

Megan Elphingstone | March 22, 2017

Oracle EPM Cloud Vs. On-Premises: What’s the Difference?

EPM applications help measure the business performance. This post will help you choose the best EPM solutions for your organization’s needs and objectives.

Bobby Ellis | April 10, 2018

Scripting Out the Logins, Server Role Assignments, and Server Permissions

Imagine over one hundred logins in the source server, you need to migrate them to the destination server. Wouldn’t it be awesome if we could automate the process?

JP Chen | October 1, 2015

Work with Us

Let’s have a conversation about what you need to succeed and how we can help get you there.


Work for Us

Where do you want to take your career? Explore exciting opportunities to join our team.