A java application act like service
hi all,
i want to start a discussion if some one want to make a application in java which acts like service mean when it start .
may it remain active for 6 months, for that type of application what should we have to consider in mind?
if it uses DataBase whats is the good method for using DB that DB connection reset or null problems dnt occur.
it dont overload resources.
use optimized use of resources/
any suggetions please.
or refer any article.
thanks
if some one use static method in that type of
application, what could be cons or pros of this
system.That's impossible to answer. The pros and cons of that system is not dependent on if you are using static methods or not.
Kaj
Similar Messages
-
Event Date: October 1, 2002 at 11:00 AM Pacific (US), 02:00 PM Eastern (US)
To register: http://regsvc.placeware.com/?wily-bea1001
Title: Achieving Availability, Performance and Control of Java Applications
in Financial Services
Abstract:
In today's competitive environment, financial institutions must focus on
three key business goals:
a.. Creating a customer-centric enterprise to maximize value to customers
and increase share of wallet
b.. Improving transactional efficiency for rapid delivery of the right
products, services and information to customers and to employees
c.. Accelerating the decision making process to mitigate risk and improve
returns.
BEA and Wily Technology have helped a number of financial services firms
meet these objectives by delivering high-performance business solutions that
meet rigorous demands for performance, reliability and scalability.
On October 1, 2002, Wily Technology and BEA will present a joint Web seminar
titled "Achieving Availability, Performance and Control of Java Applications
in Financial Services" with Eric Gudgion, Principal System Architect,
Technical Solutions Group at BEA and Chris Farrell, Director of Technical
Marketing at Wily. This Webinar will showcase the many advantages that the
WebLogic® Enterprise PlatformT and Wily's Introscope® offer financial
services firms.
Attendees will learn how WebLogic Server, BEA's unified, simplified and
extensible solution, provides a robust platform for the development and
deployment of enterprise Java applications. Some examples of what financial
institutions can achieve with BEA include Multi-channel Services Delivery,
Straight-Through Processing, Wealth Management and Cash Management.
Wily Technology will highlight Introscope's ability to manage financial
services Java applications by pinpointing component-level performance issues
in real-time, whether in the application, application server or
Java-connected back-end systems. Wily's suite of Java application management
solutions offers a comprehensive platform for achieving 24x7 application
availability, enhanced performance and better control of IT resources.First of all you should check out which products are supported on 64bit :- http://www.oracle.com/technology/products/bi/hyperion-supported-platforms.html
If you are planning on using windows 64bit EAS then you will have to manually deploy the web application, it cannot be automatically deployed.
Cheers
John
http://john-goodwin.blogspot.com/ -
Error while running Java Application as NT Service using INSTSRV
Hi,
I am trying to run Java Application as an NT Service using Instsrv.But when i start the service It works fine.when i stop the service it does not stop and it continues to run the application.When i uninstall the service It still executes.When i reboot my machine it stops .Is there any solutions for this.Any help is greatly appreciated.
Thanks.I actually had similar situation. I used autoexnt.ext tool (it creats a service that can be called when rebooting) to start a batch file which in turn run a java program. After the program starts, it can only be stopped through Task Manager or Ctrl-C at the dos window (it creats a dos window) or close the window directly. Stopping the service has nothing to do with the program. I feel this is reasonable because the only function of the service here is to start the application. After that the service does not (very likely) have any connection with the program so whatever you do with the service will not affect the program itself. I wonnder if you are in the same situation.
PC -
Adobe air html/js - application act like a browser.
I just started in Adobe air html/js . In the current application I want to do something like this .
I want to open the urls/web pages in the application and application should act like a web-browser to them .
But with that I want to modify the opened pages a little, like add some css/js to them.
Something like when you open Web pages in Firefox and a plugin (example grease monkey scripts) modifies the displayed content .
Is it possible ?
I tried opening in iframe it works , but I cannot add my own JavaScript to the page (is there any way in air to remove cross domain strictness?).
Note: Please don't suggest that I fetch the html content of the page and add it to the app body. My app should really act as browser. (Adobe air is webkit based so I think it can be achieved)Hi,
Thank you for reporting this. The internal bug number for the issue is #2740755. The issue is currently under review and will be investigated by one of AIR team members.
Regards,
Catalin -
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 to start a java application as windows 2000 service?
Hi all,
I'm trying to start / stop a java application as a windows 2000 service. But nothing appens (I can see the screen that rapidly display the java help prompt and then disappear)
I've a working directory i.e C:\MyDir and it contains instsrv.exe, srvany.exe and my application jar MyApp.jar
I'm using instsrv.exe to register a java application as a service ( C:\MyDir\instsrv MyApp C:\MyDir\srvany.exe )
I've added a key in registry by running regedit
The key is under the tree HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MyApp
the key value is Parameters
in the key I've added a string value "Application" with the value "C:\j2sdk1.4.2_01\bin\java.exe"
and a string value "AppParameters" with the value "-classpath C:\MyDir\MyApp.jar main" where main is the name of the main class application.
This seems to run correctly with Windows NT 4.0
But doesn't work with Windows 2000.
Can anyone help me?? pls.
Thanks.
MaxI'm replying to myself .... ;-) ahah
All we need for this purpose is JavaService, at link
http://www.alexandriasc.com/software/JavaService/index.html -
How to integrate a Java Application in the portal
Hi:
I have developed a pure and simple Java Application just like a test, only Java, no EJB, no JSP. JUST PURE JAVA. I need to put this application in my Oracle9iAS Portal and i've found something about developing EAR and WAR. But i can't find the way to put my app in the portal.
Does anybody know how can i put my app in the portal? or what should i do?
Thank you.Hi:
I have developed a pure and simple Java Application just like a test, only Java, no EJB, no JSP. JUST PURE JAVA. I need to put this application in my Oracle9iAS Portal and i've found something about developing EAR and WAR. But i can't find the way to put my app in the portal.
Does anybody know how can i put my app in the portal? or what should i do?
Thank you. -
How can i run java application at system startup just liks as services
How we can run java application at the time of system
starts up just like as services.Hi,
At first you have to create an exe of the class file.
for that go to the site www.duckware.com/java2exe.html
Click on the j2exe23c.exe(75k) download it and install in ur system. convert the class file to windows exe.
The put the exe in the startup folder in windows.
If ur not able to find that folder search for it and put that exe in that folder. -
Consume Enterprise Services in Java Application
Hey guys,
I'm very new in this field, maybe you can help me how to start....
I want to call Enterprise Services (asynchronous, provided by SAP) from an external java application. Therefore I want to configure a integration scenario between two business systems: java application (consumer) and sap application system (service provider). Maybe you can help me to answer the following questions.
1) What kind of adapter I have to use in communication channels?
2) Have I to define outbound/inbound interfaces for Communication Component "sender" (business system: java application)?
2) How does the communication between the java application and IS work? What kind of API I have to use - some kind of advanced adapter engine ... JCO, JCA ???
Is there any demo scenario from sap? Please help me to start
Kind regards,
ChristianHello,
problem is you are using wsimport on web-service which uses RPC/encoding. Wsimport use JAX-WS so it is not able read it.
You should wscompile.bat instead it.
Here is example :
wscompile.bat -gen:client -d build/classes -s src -keep config.xml
(-gen:client -says to generate classes for client
-d - directory where to store classes
-s - directory where to store sources
-keep - to keep source file
xml file
Where config.xml looks like
<?xml version="1.0" encoding="UTF-8"?>
<configuration
xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
<wsdl location=
"http://something/yourws?wsdl"
packageName="org.your.package.client"/>
</configuration>
I hope it will help.
best regards -
How to import or sync Exchange data like Calendar, Contacts with a web application or web service.
1. Is there any API to import contacts and calendar (tasks and events) from exchange server to my calendar in web application using web services or http request. the user would have provided the username and password for his exchange account.
2. Is there any licensing involved to communicate with exchange server for its data.
thanks in advanceI am bit lost here; i have my exchange credentials, how (or) can i use the above mentioned solution for windows application or web services. can you please point in the right direction. my requirement is this: how to sync exchange data with a third party
app or webapp(my development) using EWS. how to start with, starting point and steps to do[just overview ;)]. -
Java application to act as background job on SAP J2EE server
Hi Folks,
I have a java class(assume, ClassA) in a DC. This class has a method to call a Web Service.
I have to create one more DC, which contains my Java application.
This application should make calls to ClassA's method after every 15 minutes.
I guess I will have to create a servlet for this. Also, I think I can use java.util.Timer for making the regular calls.
Can you please suggest me the ways to proceed on this?
Thanks.Thanks, Frank.
Yes, we too have a cluster environment. In our case, this scheduler has to run only on one server node.
As per the technical requirements, I went ahead with a Servlet application.
The scheduler is running fine, except one problem.
I need to call an EJB method deployed on the same server.
Below is the code snippet.
InitialContext ctx = new InitialContext();
MyEjbLocalHome objLocalHome = (MyEjbLocalHome) ctx.lookup("localejbs/my.com/abc~myearDC/MyEjbBean");
I am getting ClassCastException at the above line.
I am sure that the local home interface is correct and belongs to the same EJB.
Can you please help me with this? -
Calling a web service from a Java application
Does anyone have sample code showing how to call a web service over from a Java application? I'm deploy to HP-UX and seeking out the most standard and reliable approach.
Thank you in advance.Keith,
Download JWSDP 1.2, look at the tutorial for JAXRPC, especially
the client portion. -
Consuming web services with a java application
Hello,
I want to consume an ABAP generated web service with a stand-alone Java application. I am very new to this topic and need some hints how this functionality could be achieved.
How is the web service accessed by the Java application? What about security issues?
Thank you in advance for your replies! They will be appreciated.
Kindest regardsHi
See this Help and Examples
http://help.sap.com/saphelp_nw2004s/helpdata/en/e2/36a53dc1204c64e10000000a114084/frameset.htm
Kind Regards
Mukesh -
Run windows services from java application
can java application run a windows server
i have a web server that runing using tomcat and mysql
can i make a icon in the systray
that give me the option to (using a menu)
run the server ,wicth means : tomcat and mysql are runing
stop the server
get tomcat stacktrace in a window
i was thinking about runing tomcat and mysql as services
and write the systray application using java,
the systray application should acces window services ,
and run/stop requierd services.
what happend on a machine thar runs linux?
thanks
shayOk .so it's will be a diffrent way under linux..
for systray i will use http://systray.sourceforge.net/
and for services i'll use the
"net start <Service>" and "net stop service"
i need to keep track on the service status
so my Systray status will be updated
what is the command for getting the status of the proccess
thanks shay -
What kind of Cellphone supports for Web Services in Java Application?
I have developed a software in J2ME integrated with Web Services!
I am wondering what kind of Cellphone (Nokia, Samsung, ...) supported Web Services now?
Any help is appreciate!Hi Shannon,
The type of proxy I'm familiar with is at the http connection level and
associated with the networking properties in the JDK, See:
http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html
Your question may be related to JWS proxies, See:
http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howUseTheJavaProxyForAWebService.html
You may want to ask this question in the workshop newsgroup.
Hope this helps,
Bruce
shannon lee wrote:
>
Hi, all;
I try to find out how the java proxy of web service in weblogic server 8.1
works. Suppose I use the java Proxy of a WebSerice in a client application whatever
whithin or outside the application of the web service, does the proxy actually:
1. translate my java arguments objects in XML to create SOAP msg,
2. then send the msg across the network, and web service also response SOAP msg,
3. then proxy translate it into return value of the method call ?
If that is true , the Java Proxy seems very inefficient, right?
Can any body tell me how the proxy works ?
regards,
shannon
Maybe you are looking for
-
Key Fields, Data Fields, Key Figures and Characteristis, Dimesions & Key Fi
Hi All, Can any one please describe more about the below terms and with the Example.... Like when we identify which one is Key filelds and Data fileds, how to distingush creating new dimesions (Is it based on user reporting) Key figures in Dimestions
-
I can not print a pdf file that was sent in an email. I get an adobe error message that it can not print with an ok to check and when i do I get another adobe error message that says I did not select a page to print. I have downloaded the latest ado
-
Table creation Error "Ref Count for this object is higher than 0"
Hi All I have a problem in creation of table using SDK on a button event. I have a procedure to create tables and fields. If I call this procedure on a menu Event than it works fine but If I call this procedure on a button event than It gives error
-
HT4623 iPhone 4 not working after iOS 6.0.1 update
I have just updated my phone to iOS 6.0.1, however after the phone updated, it no longer switches on and I just have a grey screen. When I try and plug the phone into iTunes, it does not recognise anything. Is this likely to be a problem due to the u
-
Dvi adapter doesnt match???!!!
I bought a mini-dvi to dvi adapter and a dvi to vga adapter (because they didnt have the mini-dvi to vga adapter in stock). Both are Apple adapters. I was going to display my screen on my LCD TV. the DVI end of the one adapter does not plug in to the