All applications on a Weblogic server [duplicate] - java

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Find name of all application running on a WebLogic server through a java web application
I am writing a java web application
that needs to know the name of all applications running on the same
server on which the application will be deployed on.
Maybe I can combine use of WLST with java?
any ideas?
Thanks,
Shehryar Farooq

JMX is the answer to the question. Please check the answer here

Related

Is there a Java/PHP bridge? [duplicate]

This question already has answers here:
How do I add a Java backend to an existing PHP site without adding a tomcat server for Java Bridge?
(4 answers)
Closed 9 years ago.
I have created a program but i need to get a java program to run a php script with some arguments and then get the php script to send some arguments to the Java program. I know this question has been asked a lot of times but it seems like the only answer i can get is that php can do this but java cant but there must be a way to do it. Right?
You can run PHP from the command line:
http://php.net/manual/en/features.commandline.php
This should enable your Java application to run it, and capture it's return values.

Creating a standalone application in Java [duplicate]

This question already has answers here:
What's the best way to distribute Java applications? [closed]
(15 answers)
Closed 10 years ago.
I want to create a software using Java. I have coded the application with Java Swing and using backend as MySQL server 5.05.
How can I create an application that can be installed on Windows, and run like other software?
Compile it as a JAR and run it in the Windows JRE.

how can I find the number of sessions in jvm? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Find number of active sessions created from a given client IP
Getting a list of active sessions in Tomcat using Java
I want to know the number of sessions in JVM. How can I find it to manage it in application server? Application server is tomcat.

How to get started on making an http server? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Implementation of a web-server
I am trying to make an http server in java that can handle http requests. if the user types in http://www.example.com/Weather/94901 i want the program to be able to get the string "Weather/94901" then have my application process that and then display to results in the text of the webpage.
Why would you write a web server for that? In PHP, for example, you could use $_SERVER['PATH_INFO'] or in JSP request.getPathInfo()
Or if you really must, start with Jetty for example, an already existing Java HTTP server

XMPP starter - with java [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
XMPP starter - with java
Please help me in getting started with XMPP, as I am going to start working on a Java project soon and I will be implementing this protocol. I need to get started soon but I couldn't find many resources online. How do I give input to the server and then receiving the msg back? How do I communicate with the ISB and client-xmpp-xlient? Any other basic suggestions are welcome. Thanks!
Have you looked into the Smack XMPP client API for your project?
http://www.igniterealtime.org/projects/smack/index.jsp

Categories

Resources