Weblogic Authors: Yeshim Deniz, Elizabeth White, Michael Meiner, Michael Bushong, Avi Rosenthal

Related Topics: Weblogic

Weblogic: Article

WebLogic Blog Round-Up

Around the WebLogic world in 80 blogs

Blog Topic: XMLHttpRequest
By Tom Janofsky
So I've been doing a bit of work with XMLHttpRequest lately to do dynamic updates on Web application pages behind the scenes and type-ahead drop downs. I thought this demo (www.papermountain.org/demos/live/) was a great example and I've made some modifications for better IE support (z-order with drop downs on the page, deal with IE caching GET requests, and some minor interaction bugs).

Pretty cool stuff really. I'll post those updates soon.

Blog Topic: WebLogic Workshop on Mac OS X (from Linux Installer)
By Simon Brown
(www.simongbrown.com/blog/2004/07/21/ weblogic_workshop_on_mac_os_x_from_linux_installer.html)
If you choose to install Workshop from the GUI installer, it gets installed underneath $BEA_HOME/weblogic81/workshop. In this directory is a script called Workshop.sh and this is used to run the tool. Unfortunately it doesn't run "as is" and some tweaking is needed. First of all, you'll need to "fix" your JDK (www.oreillynet.com/cs/user/view/cs_msg/31140) so that it looks like a typical install (with jre/bin/java and jre/lib/rt.jar). If you've ever looked at the Apple JDK then you'll know what I mean.

Next you need to edit that script and I've done this as follows. I basically changed the path to Java, some of the JVM options, and stopped output being redirected to dev/null (so I can see the stack traces when it blows up, which it hasn't yet).

java -Xmx256m -Xms64m -client
-cp "/Users/simon/bea/weblogic81/workshop/wlw-ide.jar"
That's pretty much it. Run the script and Workshop will start up.

Of course, since it's another Java application, WebLogic Builder also runs fine. I've loaded an application into these tools and I was able to deploy and redeploy from it just fine, editing the code and/or config as necessary. WebLogic on Mac is certainly a viable development platform for J2EE.

Blog Topic: Debug J2EE Apps Deployed on Weblogic with Eclipse
By Jeremy Whitlock

Once you have your environment properly setup (Eclipse installed, Weblogic-Eclipse plugin installed, and Weblogic installed with a working domain configured) we need to setup the Eclipse-Weblogic plugin.

Window > Preferences > Weblogic

  • Select the "7.0 or higher" radio button for the Version
  • Input your BEA Home
  • Input your Weblogic Home
  • Input your Domain Name
  • Input your Domain Directory
  • Input your Server Name
  • Input your User capable of starting the server
  • Input your Password
  • Input your Hostname
  • Input your Port
Window > Preferences > Weblogic > Classpath
  • Input your required classpath entries. [Optional]
Window > Preferences > Weblogic > JavaVM Options
  • Input your required Java VM Arguments. There are some required WebLogic arguments already predefined. [Optional]
  • Input your JNI path. This is useful if you want to use the WebLogic native I/O libraries in $WL_HOME/server/bin. [Optional]
Window > Preferences > Weblogic > Project
  • Input a reference to an existing Eclipse project with the source/classpath for your J2EE app that you have deployed to Weblogic. [Optional]
Some of the above mentioned as [Optional] are optional to make the plugin find your sources and such, but are not required for making the plugin start/stop WebLogic.

Now that we have everything setup, click the green triangle in the toolbar. This should start WebLogic. If you get errors they will show up in the Console and should be able to be fixed easily. Now deploy an application to WebLogic, if you haven't already, that has its corresponding source in an existing Eclipse project that you should have referenced in the WebLogic Preferences. Once it's deployed, open any of the .java files for the deployed application and put a breakpoint in the source by double clicking the gray bar to the left of your source document. You should be updated with a blue orb in the gray bar on the line you double clicked beside. Now run your J2EE app and when you hit that breakpoint, Eclipse should alert you and you can step through the J2EE application to debug. While brief, this should supply you with all you need to debug your J2EE apps deployed to WebLogic inside of Eclipse. If you need any help or run into problems let me know and we'll remedy them.

More Stories By WebLogic News Desk

WLDJ News Desk trawls the world of e-commerce technologies for news and innovations and presents IT professionals with updates on WebLogic related technology trends, products, and services.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

IoT & Smart Cities Stories
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
Machine learning has taken residence at our cities' cores and now we can finally have "smart cities." Cities are a collection of buildings made to provide the structure and safety necessary for people to function, create and survive. Buildings are a pool of ever-changing performance data from large automated systems such as heating and cooling to the people that live and work within them. Through machine learning, buildings can optimize performance, reduce costs, and improve occupant comfort by ...
The explosion of new web/cloud/IoT-based applications and the data they generate are transforming our world right before our eyes. In this rush to adopt these new technologies, organizations are often ignoring fundamental questions concerning who owns the data and failing to ask for permission to conduct invasive surveillance of their customers. Organizations that are not transparent about how their systems gather data telemetry without offering shared data ownership risk product rejection, regu...
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Predicting the future has never been more challenging - not because of the lack of data but because of the flood of ungoverned and risk laden information. Microsoft states that 2.5 exabytes of data are created every day. Expectations and reliance on data are being pushed to the limits, as demands around hybrid options continue to grow.
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities - ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups.
As IoT continues to increase momentum, so does the associated risk. Secure Device Lifecycle Management (DLM) is ranked as one of the most important technology areas of IoT. Driving this trend is the realization that secure support for IoT devices provides companies the ability to deliver high-quality, reliable, secure offerings faster, create new revenue streams, and reduce support costs, all while building a competitive advantage in their markets. In this session, we will use customer use cases...