Welcome!

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
(www.tomjanofsky.com/blog.html)
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
-Djava.system.class.loader="workshop.core.AppClassLoader"
-cp "/Users/simon/bea/weblogic81/workshop/wlw-ide.jar"
workshop.core.Workshop
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
(http://dev2dev.bea.com/blog/jcscoobyrs/archive/2005/04/)
PREREQUISITES:

GETTING STARTED
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
Dion Hinchcliffe is an internationally recognized digital expert, bestselling book author, frequent keynote speaker, analyst, futurist, and transformation expert based in Washington, DC. He is currently Chief Strategy Officer at the industry-leading digital strategy and online community solutions firm, 7Summits.
Digital Transformation is much more than a buzzword. The radical shift to digital mechanisms for almost every process is evident across all industries and verticals. This is often especially true in financial services, where the legacy environment is many times unable to keep up with the rapidly shifting demands of the consumer. The constant pressure to provide complete, omnichannel delivery of customer-facing solutions to meet both regulatory and customer demands is putting enormous pressure on...
IoT is rapidly becoming mainstream as more and more investments are made into the platforms and technology. As this movement continues to expand and gain momentum it creates a massive wall of noise that can be difficult to sift through. Unfortunately, this inevitably makes IoT less approachable for people to get started with and can hamper efforts to integrate this key technology into your own portfolio. There are so many connected products already in place today with many hundreds more on the h...
The standardization of container runtimes and images has sparked the creation of an almost overwhelming number of new open source projects that build on and otherwise work with these specifications. Of course, there's Kubernetes, which orchestrates and manages collections of containers. It was one of the first and best-known examples of projects that make containers truly useful for production use. However, more recently, the container ecosystem has truly exploded. A service mesh like Istio addr...
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...
Charles Araujo is an industry analyst, internationally recognized authority on the Digital Enterprise and author of The Quantum Age of IT: Why Everything You Know About IT is About to Change. As Principal Analyst with Intellyx, he writes, speaks and advises organizations on how to navigate through this time of disruption. He is also the founder of The Institute for Digital Transformation and a sought after keynote speaker. He has been a regular contributor to both InformationWeek and CIO Insight...
Andrew Keys is Co-Founder of ConsenSys Enterprise. He comes to ConsenSys Enterprise with capital markets, technology and entrepreneurial experience. Previously, he worked for UBS investment bank in equities analysis. Later, he was responsible for the creation and distribution of life settlement products to hedge funds and investment banks. After, he co-founded a revenue cycle management company where he learned about Bitcoin and eventually Ethereal. Andrew's role at ConsenSys Enterprise is a mul...
To Really Work for Enterprises, MultiCloud Adoption Requires Far Better and Inclusive Cloud Monitoring and Cost Management … But How? Overwhelmingly, even as enterprises have adopted cloud computing and are expanding to multi-cloud computing, IT leaders remain concerned about how to monitor, manage and control costs across hybrid and multi-cloud deployments. It’s clear that traditional IT monitoring and management approaches, designed after all for on-premises data centers, are falling short in ...
In his general session at 19th Cloud Expo, Manish Dixit, VP of Product and Engineering at Dice, discussed how Dice leverages data insights and tools to help both tech professionals and recruiters better understand how skills relate to each other and which skills are in high demand using interactive visualizations and salary indicator tools to maximize earning potential. Manish Dixit is VP of Product and Engineering at Dice. As the leader of the Product, Engineering and Data Sciences team at D...
Dynatrace is an application performance management software company with products for the information technology departments and digital business owners of medium and large businesses. Building the Future of Monitoring with Artificial Intelligence. Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more busine...