How make java application as servies in win2000?
I have a java application. I want to it as servies running.
Please tell me. How can I do?
Search around the web with "java NT service". You should find a number of downloadable projects that can handle some of this.
Similar Messages
-
Any idea how the java application can get the physical memory?
Hello, everyone
Any idea how the java application can get the physical memory?
thanks in advanceI believe what yo intend to do is forbidden, but here
my answer.
when you start your application you can give your VM
the entire memory of your pc. like this this memory
is completly under your control.* headdesk * -
How are java applications deployed?
i was just wondering. if i create a standalone application, how are they executed? i mean, do you create a .exe file of them or something?
There are many ways to deploy a Java application. Which way you choose depends on the nature of your application, on what are your customers, etc.
Narrowing your question to J2SE applicaitons (e.g. Swing-based client apps), you still have many options.
The most frequently used are
- Web start technology
- Java-aware installers (create conventional setup.exe)
- Java2exe wrappers
- Simple batch file like "javaw -jar myjar"
- Executable (or clickable) JAR
I do not know if there is a complete "Java deployment guide", however this article may be of some help to you, as it describes all these options:
http://www.excelsior-usa.com/articles/java-to-exe.html
Denis -
How can java application integrate with SAP
i need some help regarding.
Actually we need a application which should work as standalone also which will be as java application
and as well as mostly we are preferring that this application should be integrated with SAP system also.
so please help me...
Edited by: anant waghmare on Apr 22, 2008 10:45 AMIf they are on seperate systems (ABAP & JAVA) you need to create a JCO connection
-
How to make Java Application a System Service.!
Hi,
I am developing an application in Java, which I wolud like to run as a System service in Windows or as a Background process in Unix/Linux.
I am using JDK 1.3.1.
Can anybody help me with this?
Thank you,
Manish.Thank you Timo.
BTW Do you know how do I do it for Unix/Linux platform?
Regards,
Manish. -
How make Report applications visible in Portlet Repository ?
Hello,
I'm using Portal 9.0.2 and I4m having problems to put report applications in pages.
I did one report from portal and another one from report builder.
Both I run inside the portal db provider using "Run as Portlet" option
and it worked, but when I edit a page and try to put these reports
like portlet, the "Portlet Repository" doesn't show the reports, just the forms from this
database provider. I already did the "Refresh" ... and the "Publish to Portal"
option in "Manage" tab of my report aplication is checked.
Even the reports that came with Portal, for exemple, in the PEOPLE_APP database provider
has some reports, neither these are showed in "Portlet Repository".
If somebody could help me I'll appreciate !
Best regards,
Renato B. MirandaHello Balakrishnan and Sharmila,
First of all I want to say thank you for trying to help me.
Sharmila, I did exactly what you suggest but it still doesn4t working, I can4t see
the reports in my portlet repository ... I saw many question as mine in this forum
but all of then aren't completely solved. (After I click "OK" in customization form display
options tab, I remembered to do the "Refresh Portlet Repository").
Balakrishnan, I did what you suggest too, the copy was fine, the roport was copy
from one provider to another, but even doing this the report doesn't appear
in the new provider on the portlet repository(I remembered to do the "Refresh Portlet Repository").
Note that my reports are already working inside portal (using "Run as Portlet")
in the "Develop" tab of my component ...
and just the reports I couldn't see, the forms that I did are there in the portlet repository !
Even the reports that came with the portal providers, like the ones in PEOPLE_APP provider
from PORTAL_DEMO owner doesn't appear in my portlet repository.
So .... if you have more suggests I4ll appreciate a lot !
Best regards,
Renato -
How to run Java on distant server?
Hello,
I am quiet new in Java community.
I would like to buid java servers pages and run it on a server.
I could intall Tomcat and Java on my local server.
Now I would like to do it on a distant server.
How to do?
Thanks for your attention.
Gilproutinette wrote:
Thanks.
This is confused and confusing probably because my english is not my language, and because i am not sure how a Java application works.
For running JSP on my local server, it is was easy, and I did need to know how it really works. I installed Tomcat server and Java SDK.
To run my application, i jsut need to type http://localhost:8080/myPage.jsp.
That description is not exact.
The server is running Tomcat with your application.
Your browser (not the application) connects to the server (tomcat) and the server (tomcat) runs your application and returns the result to the browser.
If i want to run the same myPage.jsp on my distant server, i would need probably to install something on my server?
www.mywebsite.com/myPage.jsp will not work just like that of course.
You need to install a number of things. At a minimum Tomcat and your application (the thing that runs inside Tomcat.) There is likely to be other requirements as well such as java and patches and perhaps a database server (if your application uses a database.)
So what do i need exactly to install on my server to run a JSP?
In fact, i am afraid if i install Tomcat on my server, the other applications will not work.What "other" applications?
Is Tomcat already installed on the server? Is there already other applications running on that server? Then yes you must install your application into Tomcat (not the server) such that it will not stop the other applications (in Tomcat) from running. -
Java Application connectivity to Coherence cluster
I am looking around the options for Java application connecting to Coherence cluster..
These are the options I seem to have
1. Coherence Extend -
2. Make Java application as a cluster member with no storage
what are the pros/cons?
ThanksHi,
Here are my thought off the top of my head
*1. Use Extend if...*
<li> Your application is short lived - i.e. does not run for very long (minutes)
<li> Your application is not located close (in network terms) to the rest of the cluster
<li> Your client uses a different version of Coherence to the cluster (there are caveats around this)
<li> The client application is being developed by another team and its release cycle is not under your control
Pros:
Good for short lived applications
Good for remotely located clients
Can be written in other languages than Java
Cons:
Extend will perform slower than a cluster member as every request goes via the proxy server and then to the rest of the cluster.
If using an invocation service where you want to run invocables across the cluster it needs a two step process.
A badly written Extend client can perform requests which could take out the proxy server
*2. Use a cluster member if...*
<li> Your application runs for a long time - i.e. it is something like a web or application server
<li> Your application is well behaved - i.e. does not have big GC pauses. A very badly behaved cluster member can destabilize the rest of the cluster
<li> Your application is located close (in network terms) to the rest of the cluster
Pros:
Faster than an Extend client
Cons:
Needs to be stable
Needs to be located close to the rest of the cluster
Hope that helps as a start
JK -
Devleoper Studio and Workplace for Java application development
1. Can someone please help me know what is netweaver developer studio and developer workplace ?
2. I came across EP master guide that says :
You install an AS Java centrally and the developer workplace on each developer host.
This option is recommended for large development projects with a need for local and central testing. Developers can test their developments locally using the developer workplace. For integration tests, they deploy their changes on the central AS Java.Ûê.® |
You install an AS Java centrally and Developer Studio instances on each developer host.
This option requires fewer hardware resources per developer host. In this landscape scenario you can set up an AS Java in development mode centrally and connect to it from the other hosts in the landscape using the Developer Studio.
How does Java application development take place ? Does this say that we need Developer Studio instances installed on every developer's host (suppose I have 3 developers) or do I need one server setup for Dev Studio and developers using some client program to connect to it ?
I suppose developers create programs on their local pc's, port them to Dev studio for testing and transfer them to EP Dev server ? Is that correct.. ? Thereby, we need CTS+ to promote developments to Qlty and Prod ?Hi,
Please check-out the following links to understand NWDS, Developer studio and the installation procedure:
SAP NetWeaver Developer Studio 7.1 Overview
http://help.sap.com/saphelp_47x200/helpdata/en/cb/f4bc3d42f46c33e10000000a11405a/content.htm
/thread/705153 [original link is broken]
http://www.sapgeek.net/2010/05/how-to-install-nwds/
Hope these help.
Regards,
Varun -
Intergrate Hibernate to Java Application.
i place the hibernate.cfg.xml file in the root of development directory(C:\mysys\hibernate.cfg.xml), how my Java Application can know where the cfg.xml is located ?
what information must define in cfg.xml File ?http://www.hibernate.org/hib_docs/reference/en/html/tutorial.html
~ -
How do I run java application on IIS server
Hi,
Can I run java application on IIS(Internet information Server)?
If yes, How do i do that?
My java application contains JSP,Servlets and EJB.
To run java application on IIS which plug in should i use.
Can anybody help me This is urgent...........
ThanxHi
Check this article on JGuru. It explains how to use Tomcat together with IIS.
http://www.jguru.com/faq/view.jsp?EID=776546
If you also need to use EJB's you probably also want to have a JBoss installed - check www.jboss.org
/Peter -
How to check if a user session is active in Java application server
Hi Experts,
We have a online scenario with a third party system by which a portal user will launch the third party application in a new window from portal. The SSO will work at the third party web application with the dynamic key that is generated by calling a webservice for that user. Now, as the user works on the launched screen, they will have to check whether the user (logged in portal) session is still active. ie., they will be periodically calling a service hosted by SAP java application server to find out whether the corresponding user who launched the session is still logged in or logged out.
So, my question is, how can i find out programatically whether a user/user's session is still logged in/active in SAP Netweaver Java AS? We are in version 7.3.
Kindly help me in this regard.
Regards
Vijay.KHi Vijay,
Could you check below links
Tracing Single User Sessions - Administration - SAP Library
Display and Manage User Sessions (SAP Library - Tools for Monitoring the System)
Hope this helps.
Regards,
Deepak Kori -
How to run ear file in java application server
i want how to run .ear file in java application server
1. i m created ear file
2. i m created jar file (bean,home,remote)
3.i m created war file(in the form of jsp)
but till now i couldnt run ear file
how to run
please hel meYou must create :
1.Jar file
2.War file
And then put them into an ear file
Exemple : myapp.ear contains
myappEJB.jar
myappWEB.war
META-INF/application.xml
and application.xml looks like this :
<application xmlns="http://java.sun.com/xml/ns/j2ee" version="1.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com /xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/application_1_4.xsd">
<display-name>myapp</display-name>
<description>Demo application</description>
<module>
<ejb>myappEJB.jar</ejb>
</module>
<module>
<web>
<web-uri>myappWAR.war</web-uri>
<context-root>/myapp</context-root>
</web>
</module>
</application>Good luck -
How to make use of Windows authentication from my Java application
I have a Java application, Instead I design one more login page for my application, I want to make use of Windows Authentication.
How should I use that windows authentication in my java application
can any help me in suggesting a solutionHow will they be able to access your application if they aren't users of the system?
-
How to make a Java application that will change the client box's IP address
HI how to make a Java application( that application would be run on the client ) that will change the client box's IP address ( IP address of itself )
If you can do that through the command line, then use Runtime.getRuntime().exec(...) to execute your command.
Maybe you are looking for
-
How can I create a non-EFI USB installation media
Hi fellows, I usually create a non-EFI installation CD via this procedure https://wiki.archlinux.org/index.php/Un - ical_Media But now my optical drive is broken, so I need to create an USB non-EFI installation media. How can I do ???
-
Retrieve data from entity bean to struts and display in JSP
I am integrating Struts+EJB3.0. Now i need to retrieve data stored in mysql database through entity bean to struts framework*(Action Form*).Then i need to display it in JSP page.(display using combo box). Please Any one give suggestions!!!!! Thanks i
-
I chat does not work via netgear router
hi there, i have installed a netgear w-lan router in my office, now my i chat account does not work any longer, as well as my colleagues have the same problem. bonjour list is ok but we cannot connect to AIM account. i am using the router via airport
-
Viewing Swing GUI in Eclipse Galileo IDE
Hi, I have created a client GUI which I'd like to view but my application is not complete, still need to define pages that control the context menu that will display the gui. Is there a way/ plugins to view gui before completion? Thanks.
-
Aún no instalo X-Lion, necesito saber si al instalar X-Lion sobre SnowLeopard, EL X-Lion conserva los programas que ya tengo instalados antes de la actualización, Ej. CS5 de Adobe, Eclipse, Silverlight, Office para Mac. etc. Desde ya gracias.