QuestionQ122

Configuring WebLogic Server Resources

Your developers have created Plain Old Java Objects (POJOs) that provide useful functionality. The code is packaged in a JAR file. You want to make this code available to all applications deployed on the managed servers in your domain. What are the four ways to achieve this?

Choose four
  • A Include the JAR file as an optional package
  • B Deploy the JAR file as an EJB
  • C Deploy the JAR file as a shared library
  • D Place the JAR file in the lib folder of the domain
  • E Deploy the JAR file to the administration server. All managed servers have access to their admin server
  • F Add the JAR file to the CLASSPATH of the domain servers by editing the domain's seyDomainEnv.sh script
Explanation

WebLogic Server supports sharing a plain JAR as an optional package or as a shared library. JARs placed in the domain lib directory are added to the system classpath when domain servers start, and adding the JAR to the domain servers’ classpath through the domain environment script also makes it available to deployed applications. A plain POJO JAR is not an EJB module, and deployment to the Administration Server alone does not place the classes on Managed Servers.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!