• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Creating custom Objects in Weblogic Server

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,

I am looking to create a custom object in weblogic server. For example, if I wanted to create an object and have, say, 5 String attributes, 8 int attributes, and 4 long attributes. Someone suggested creating a deployable application (a webapp) and then create the custom object in that application. I am a newbie to this stuff so I dont know how to implement that. Is this somehow related to using JSPs? Also, does anyone know if this can be done using Weblogic Scripting Language (WLST). Any help would be greatly appreciated! Thanks!

Harinder
 
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
what will be the use of this Object? How will it be used?
 
Harinder Thind
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Amit,

The goal is really to just create, say, a variable of type int, and another of type String, and then put them in the same object simply for organization. The purpose of the object is to test different types of objects in WebLogic and how they respond to modification. Later, the variables will be polled by a stand alone java program for testing. The entire use of the object is not so important right now, I'm just attempting to create it for now. If you could assist me with that it would be GREAT! Thank you

Harinder
 
Amit M Tank
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your question doesn't make sense to me. Sorry i don't know how to help you in this regard.
 
Harinder Thind
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sorry I tried to be clear, let me try again. I am simply trying to add a resource to the WebLogic Server. For example, weblogic has a standard JMS queue object which can be added to the server resources. The queue object has a number of attributes like MessagesCurrentCount, MessagesHighCount, or MessagesReceivedCount. Similarly, I am trying to define an object with attributes of my choosing. lets ignore whether or not the object will be useful for now.

This can be done by creating a web application and then creating the objects in that application. This is where I get stuck. I do not know how to implement this. I hope that made a little more sense :S
 
Amit M Tank
Ranch Hand
Posts: 257
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

This can be done by creating a web application and then creating the objects in that application



You can create a web application and deploy it in weblogic. If you install weblogic then you can find that it has an example domain server with sample web applications deployed on it. you can invoke those program and see how they work in weblogic.
 
Harinder Thind
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks you for the suggestion.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic