How to develop NT services?

Greetings!
Urgent! How to use Java programming to develop NT services like the one in Windows NT, 2000 and XP.
Please give me some guidance or tips for me. The example code or helpful link are appreciated. Thank you!
Regards,
Anson

You need to develop your java application first.
You should be able to run it from commmand line like
c:\java myprog
where myprog is your application.
Now to have a service startup, you have to add it to startup file. To start a java file make a batch file (*.bat) that runs the java program. Contents of the batch file will be like this:
c:\j2sdk1.4.0_01\bin\java c:\javaapps\myprog
where the first path is the path to java executable and my prog is the class file here. I am not exactly sure as I hae never done this but hope this helps.. I also found this in Windows 2000 help:
To create custom startup files for an MS-DOS-based program that may require a special configuration
Using a text editor, such as Notepad, edit the Config.nt and Autoexec.nt files (located in systemroot\System32).
Save each file with a new name.
Right-click the MS-DOS-based program shortcut, and then click Properties.
Click the Program tab, and then click Advanced.
Under Custom MS-DOS-based program initialization files, type the new names for your custom startup files.
Notes
This procedure may be required because some MS-DOS programs use special memory and video instructions, or require that other programs be installed prior to their being started. Please refer to the documentation that came with the program before creating startup files.
Use the documentation that came with the MS-DOS-based program to create a shortcut, or see Related Topics.
This option may not be available on some MS-DOS-based programs.
To use custom startup files when starting an MS-DOS-based program, you must start the program from its shortcut.
Creating a program information file (PIF) for an MS-DOS-based program creates a shortcut to the program executable. All the settings saved in the PIF file are contained in the shortcut.

Similar Messages

  • How to develop web service using Intellij Idea 6.0

    How to develop web services using Intellij Idea 6.x. A sample web service and service client is needed with full procedure. Thanx in advance.

    Web service is technology not a tools that bundle with IDE.
    For example you can't say how can I develope object orented program with Eclipse.
    1- You should get some general info about SOAP, WSDL and Web sevice usage
    2- Start to implmenet a simple Hello world web service and deploy it on application(web service) server
    3- Write Client code and test it.
    for step 2,3 Apache Axis(2) could be a good solution for developement or you can use JAX-WS for sun

  • How to develop web services in OSB using Eclipse OEPE

    Hello,
    We have some live web services developed in SOA ESB using JDeveloper.
    We are now forced to migrate to OSB because of the reason that sometime next year ESB will be de-supported by Oracle.
    I am looking for some good documentation which explains how to create web services in OSB using Eclipse. Please help.
    I am installed Web logic + OEPE + OSB in my local machine already. All I need is to know how to start development.
    Thanks,

    Hi,
    You can start with this:
    http://docs.oracle.com/cd/E17904_01/doc.1111/e15866/tasks.htm
    Cheers,
    Vlad

  • How to develop Ping Service in Oracle Service Bus

    Hi all,
    I want to develop a ping service in OSB which will ping all the End-point URLs and Databases ( i.e It will do the health check of the end point URLs ) .
    when it is found any End Point URL is not reachable it should shutdown all the Osb Projects(or Proxy's) which is using the End-point URL and when ever the
    End-point URL is up it should Bring the Osb Project( or proxy) up to get the requests .
    I want to implement this for Asynchronous services or JMS services.
    Can we shutdown any Proxy or OSB project like BPEL process ??
    Thanks
    Phani

    I want to implement this for Asynchronous services or JMS services. For jms transport, instead of disabling the proxy you can make a java callout to pause the queue for consumption. This should a very small piece of java code using jmx api to pause the consumption.. So instead of designing a 'ping' service, what you can do is when an error occurs on the route node, do the following in the route error handler -
    - Configure an 'alert' action to notify to the support about the issue, This could be done in different ways depending on how your osb is integrated to the problem management system.
    - Pause the queue for consumption using the java callout.
    Support can manually come and resume the consumption on the queue after the issue is fixed.

  • How to develop Web Services

    I have to develop an application suing Web Services.
    I'm not using ITS.
    I already read the HelpOnline and the attachemnet of note 547847 (it seems usefull only for Was 620)
    Do you know there is available some "how to do " document ?
    thanks in advance

    Hi,
    Check these excellent weblogs by Thomas:
    /people/thomas.jung3/blog/2004/11/15/bsp-150-a-developer146s-journal-part-xiii-developing-abap-webservices
    and
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    Eddy

  • How to develop web services using a existing WSDL

    I wrote a test web service program using a existing .NET HelloWorld WSDL.
    After wsdeploying step, new WSDL was generated that was different from original one. There was a mismatch in messge part name between two WSDL.
    When i ran a client program, it generated a following error;
    java.rmi.ServerException: Internal Server Error (deserialization error : unexpected XML reader state. expected: END but found: START: input)
    How can I get wsdeploy to use existing WSDL when it generates server artifacts internally?

    I created a web service client from the original WSDL using wscompile -gen:client.
    original WSDL is:
    <?xml version="1.0"?>
    <wsdl:definitions name="HelloWorld" targetNamespace="http://soap/WebService/HelloWorld" xmlns:typens="http://soap/WebService/HelloWorld" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" >
         <wsdl:types/>
         <message name="SayHelloRequest">
              <part name="input" type="xsd:string"/>
         </message>
         <message name="SayHelloResponse">
              <part name="return" type="xsd:string"/>
         </message>
         <portType name="HelloWorldPort">
              <operation name="sayHello">
                   <input message="typens:SayHelloRequest"/>
                   <output message="typens:SayHelloResponse"/>
              </operation>
         </portType>
         <binding name="HelloWorldBinding" type="typens:HelloWorldPort">
              <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="sayHello">
                   <soap:operation soapAction=""/>
                   <input>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://soap/WebService/HelloWorld"/>
                   </input>
                   <output>
                        <soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://soap/WebService/HelloWorld"/>
                   </output>
              </operation>
         </binding>
         <service name="HelloWorldService">
              <port name="HelloWorldPort" binding="typens:HelloWorldBinding">
                   <soap:address location="http://localhost/ws/helloworld"/>
              </port>
         </service>
    </wsdl:definitions>

  • How to develope, compile  and run soap service

    we want to implement the soap sevice in our concern.So its very diffcult to develope the soap program.I dont know about the soap service.please give me a input about soap and how to develope soap programs.Pls also give some sample programs and how to compile and run those programs.In our concern we are using UNIX operating system.
    Thanking you
    Yours faithfully
    Saran

    You should start by posting questions regarding web services on the correct forum ;)
    Next go to xml.apache.org and read the documentation regarding Apache Axis.
    You could also take a look at the Spring Framework's support for web services.
    You could even take a look at the Sun Web Service tutorials.
    The above resources have plenty of examples and sample code.

  • How to develop and call Asynchronous web service

    Hi All,
    I need to have a java web service that will be called asynchronously.
    That should execute, once triggered and caller shouldnt need to wait till its completion.
    How to develop and call asynchronoue web service ?
    Thanks
    Saikrishna

    Let your web service start its own background thread (*) somehow and move your business logic from web service to this thread. Then you can return from your web service. The client won't be blocked and your application will run on your server after service callout will be finished.
    I hope that's what you need. Anyway, there is only "asynchronous communication" and nothing like "asynchronous web service". At least from HTTP point of view, every call is synchronous - you have request and response.
    (*) You shouldn't start your own thread since you are in JEE world. Look at documentation for your container. E.g. for weblogic there are workers you can use this way. Or you can choose the other way. I hope that for any container you can just enqueue your web service request to any JMS queue and move your business logic to an appropriate MDB. Then, your web service will be just a simple JMS producer and your web service client won't be forced to wait for business logic to finish.
    Last but not least, next time choose a better forum. :-)

  • How do I fetch projects from OEPE when the status of my Developer Cloud Service is 'unknown'

    The status of my Oracle Developer Cloud Service has become 'unknown' since last March 30.
    Even though the status is 'unknown', I created two project on the Service Console(Developer Cloud Service web interface) and they look fine.
    But when I try to fetch the projects that I created on the Service Console from Oracle Cloud view of OEPE, nothing was fetched except my database service.
    I assume that because of the status, OEPE can't fetch the projects.
    If anyone knows how to solve this problem or any workarounds, please let me know
    To be brief, the things I want to solve are followings
          How to recover the status of my Developer Cloud Service as ‘Active’ again.
          How to fetch the project that I have created on Developer Cloud Service Portal from Oracle Cloud view of OEPE.
    Thanks.

    Hi,
    When you log in to MyServices, are you able to successfully open the web ui for Developer Cloud Service (Open Service Console)? Do you see your projects listed in the Developer Cloud Service web UI?
    In the OEPE Cloud View, were you able to provide your Cloud credentials successfully? username, password, identity domain and US Commercial 2 for the data center
    Also, which version of OEPE are you using?
    Thanks,
    Greg

  • How to call web service using J2SE 1.3?

    Dear All,
    i have developed a web service by jdev 10.1.3 (JAX-RPC with web service security
    enabled).
    i generate the ws proxy (jdev 10.1.3) and run it with wsclient_extended.jar (required JDK 1.4.1 or above??).
    but one of my client say he has to use J2SE 1.3.x (as OS=AIX 4.3 that without J2SE
    1.4.x ), could anyone tell me how can generate ws proxy (with supporting
    library) for jdk 1.3.x?
    if oracle don't have such library / tools, any third party tools / library available?
    thank you.
    lsp

    I'm found answer:
    Java and SAP Portal blog: How to call web service from java code example

  • The Best Java Web Services Technology for Developing Web Services

    Hi,
    I am new to Web services world.
    I read the java web services page . there are more than 6 technologies.
    JAX-WS,
    JAX-RPC,
    JAXB,
    SAAJ,
    JAXP,
    WSIT,
    XWS-Security
    I went through several documents on web services.
    I could not get a clear idea of which technolgy to use.
    Which Java web service technology will be the best to develop web services independant of language, platform.
    or is there any 3rd party implemetations available ? for rapid development of web services.
    Could anyone help me !.
    Thanks in advance.
    Message was edited by:
    Siva.Prakash

    Which Java web service technology will be the best
    to develop web services independant of language,
    platform.
    Java by nature is a cross-platform language, so if your focus is on the need for portability, the choisce of WS should not be a problem. However, each WS is best suited for paricular uses.
    SAAJ, a low-level level API, offers much simplicity, but is not the first choice for programmers, as SOAP (Simple Object Access Protocol)messages need to be constructed piece by piece, making it a quite arduous code to program.
    If you are not familiar with XML, your best bet would be to use JAX-RPC (Java API for XML-Remote Procedure Calls), as it hides the underlying detail from the programmer, in terms of SOAP and XML. The shortcoming with RPC-based WS is that it is "restricted to the local programming experience". Another failing is that assumes there is a network path- a reliability concern.
    If your program will be contacting other services during downtimes, unlike JAX-RPC, JAXM is quite useful. However, your listing did not mention it, so I wont cover it.
    JAXR is a client-side only API that acts as an interface between registries (not referring to JAXP)
    I am not famiiar with JAXB, JAXP, WSIT or XWS-Security..
    or is there any 3rd party implemetations available ?It depends on what platform you are used to. Assuming you are familiarized with the J2EE platform (now changed to Java EE SDK), the NetBeans IDE (either 5.5, 5.5.1 or the latest editiion) is quite useful. I am using 5.5.1, but have found that it is quite buggy, especially when adding WS operations, a core requirement of a WS. if you will be using to devlop a service for an immediate need, you may find the learning curve to be a bit high, in terms of getting to grips with how to use it. (Download link:
    http://www.netbeans.info/downloads/index.php)
    The IBM Autonomic IDE (or AIDE), based on the WSDM standard, includes 3 sub-tools, icluding the IBM Manageability Endpoint Builder which, according to their website, allows individuals to build endpoints to allow manageability interface exposure; Manageable Resource Browser and the IBM Manageability Endpoint Simulator. However, I'm not familiar with this IDE. (Download link: http://www.alphaworks.ibm.com/tech/aide/download)
    The .NET Framework uses the Visual Studio IDE. For an unbiased comparison of J2EE and the .NET Framework in terms of WS, see http://www.webservicesarchitect.com/content/articles/hanson01.asp.
    Apache Axis2, Geronimo and JiBX allows fast development of WS, or so the creators profess.
    The PHP environment- you could try NuSPHERE PHPed. According to one website, with it you can develop a web service in under an hour.
    I hope this was useful to you.
    [Based partly on Topley, K. (2003) [i]Java TM Web Services in a Nutshell: A desktop Quick Reference. 1st ed. California: O�Reilly & Associates, Inc]

  • What is the best practice for developing web service?

    Hi All,
    I'm a newbee to web services...
    I was wondering what would be the best approach in developing a web service,
    using tools or programmatic approach?
    If I use WebLogic Workshop, am I tied to a vendor?
    Is it possible for me to develop web services using workshop and deploy in
    another app server..?
    I would appreciate if somebody could give me a pointer to start.
    I have already referred BEA's docs.
    I'm still confused on a good starting point on the best approach to develop
    protable web services.
    Thanks in advance for any inputs.
    K K

    K K-
    You have a very valid point on the simplify or complicate matters. If you are
    going for clean and not-so-time-centric code, then there are several different
    programs and packages out there you can choose from.
    Since you are specialized in J2EE, than the Sun package may be what you are looking
    for. BEA's classes simplify much of the work you will be doing, but you could
    emulate their classes or extend yours above the functions provided in theirs.
    It all boils down to how much work are you willing to do.
    If you are asking for more detailed, coding 'Design Patterns' to utilize, I would
    wait for a few more posts from other folks as my work often requires me to utilize
    the tools provided.
    Sincerely,
    Eric Ballou
    "K K" <[email protected]> wrote:
    Eric,
    Thanks for the response.
    I was also looking at Sun's WSDP 1.1, which is more programmatic approach.
    Some how, I feel being a J2EE developer, I should go on the direction
    of the
    programmatic approach.
    Using the tools could simplify or complicate things. Also, the Workshop
    samples import all weblogic specific packages.
    My code looks so dirty with many vendor specific packages being imported.
    Could you give me your suggestions for a clean and neat approach?
    I would personally prefer to avoid the quick and dirty approach.
    Thanks again.
    "Eric Ballou" <[email protected]> wrote in message
    news:[email protected]...
    K K-
    The best approach in developing portable web services is knowing whatyou
    are
    planning on using them for as well as how much is willing to be spent,etc.
    BEA's Workshop is portable to other frameworks, but the ease ofintegrating a
    developed client or a developed server can very greatly. Even moreof an
    issue
    is migration from one framework to another. If you choose to developin
    Workshop
    and your company later deploys .Net solutions, some of your work mayhave
    to be
    redone unless the company is willing to keep portions of the 'old'system
    around
    until new versions of the service are available. However, Workshophas
    several
    ant tools available that would assist you in deploying to other appservers or
    even a stand-alone application should you need cross framework abilities.
    If you are just starting out in web services, http://www.webservices.org
    is a
    good place to start checking out vendors in the space.
    Sincerely,
    Eric Ballou
    "K K" <[email protected]> wrote:
    Hi All,
    I'm a newbee to web services...
    I was wondering what would be the best approach in developing a web
    service,
    using tools or programmatic approach?
    If I use WebLogic Workshop, am I tied to a vendor?
    Is it possible for me to develop web services using workshop and deploy
    in
    another app server..?
    I would appreciate if somebody could give me a pointer to start.
    I have already referred BEA's docs.
    I'm still confused on a good starting point on the best approach todevelop
    protable web services.
    Thanks in advance for any inputs.
    K K

  • 10.1.3.1 : Developing Business Services with ADF BC tuto issues

    Hi,
    I was doing a learning session at my office based on the 'Developing Business Services with ADF Business Components' tutorial : http://www.oracle.com/technology/obe/obe1013jdev/10131/bslayer/bslayer.htm. The topic Creating ADF Business Components > 9 shows how to create EOs, VOs, AM and the corresponding UML diagram.
    When using JDev 10.1.3.1 :
    * the diagram is not generated as expected,
    * the java domains are not created from DB domains.
    Under JDev 10.1.3.2 :
    * the java domains are created from DB domains,
    * the diagram has been generated on 1 out of 3 computers.
    Any clues on what's going on or any known bugs ?
    Thanks,
    Seb.

    Hi,
    Today in 10.1.3.1 the diagram generation just works. It seems the keepResident extension was causing troubles as the exception stack trace mentioned its name... I just removed it.
    But still, the domains are not generated as expected. I've made several tests even in a fresh installation of JDeveloper 10.1.3.1.
    Seb.

  • How to Expose LogOff services as an iview on TopLevel Navigation

    Dear Experts
    I need to provide a logoff iview in Top Level Navigation.
    I have created a pdk  application for this. It is providing the basic functionality of logoff, but after logoff it is redirecting to the default portal logon page instead of my custosed logon page.
    Code of LogOff services.
    IAuthentication Authen = UMFactory.getAuthenticator();
    HttpServletRequest req = request.getServletRequest();
    HttpServletResponse res = request.getServletResponse(true);
    Authen.forceLogoffUser(req, res,"http://ssvepd00:50000/irj/portal/anonymous/LogOnPage?guest_user=JTCGuest");
    Could you please suggest me where I am missing? Is it anything to do with ume.logoff.redirect.silent property?
    PAppreciate your response..
    Regards
    Shanmukha Rao Banisetti
    Ph: 9916736946

    Hi! I guess it's nice to get called upon by name. :-)
    As user878 mentions, the problem trying to execute tmloadcf is related to the fact that the associated IPC resources are already considered active by Tuxedo, i.e., you did a tmboot with a given TUXCONFIG and that Tuxedo environment is still running.
    Specifically to answer your questions:
    1)can my application placed in any folder other and execute compile tmloadcf from there?Where the files reside is almost immaterial. What is key is what the environment variable TUXCONFIG points to. That file defines a Tuxedo environment and is created with the tmloadcf command. Once the application is booted, you can't use tmloadcf to change the configuration. You either need to use the tmconfig command or shutdown the environment and then issue the tmloadcf command and then reboot the environment.
    2)How to test my service using command prompt.Tuxedo only provides a generic command line client for Tuxedo services that use FML or FML32 buffers. The commands are ud and ud32. For Tuxedo services that use other buffer types, you will have to develop a specific client.
    I have also updated the Jrepository .The Jolt repository is only needed if you are using Jolt, the Java client API to Tuxedo services.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • How to develop a report for display unused materials

    how to develop a report for display unused materials? where can i find them?

    Hi Phani,
    I didnt get what u acually mean by unsued material. These are some sample materail types which u can find in table 'Mara'  field 'Mtart'.
    ABF  Waste                   
    AEM  Samples                 
    BLG  BLG Empties  External   
    BLGA BLGAEmpties  Fixed assets
    CH00 CH Contract Handling    
    COMP Prod. alloc., purchased 
    CONT KANBAN Container        
    COUP Coupons                 
    DIEN Service                 
    DOCU documentary batch       
    ERSA Spare parts             
    FERT Finished product(fert)  
    FGTR Drinks                  
    FHMI Prod. resources/tools   
    FOOD Foods (excl. perishables)
    FRIP Perishables             
    GR01 material type 01        
    GR02 material type 02        
    HALB Semi-finished product   
    HAWA Trading goods           
    HERS Manufacturer parts      
    HIBE Operating supplies      
    IBAU Maintenance assembly    
    INTR Intra material          
    KMAT Configurable material   
    LEER Empties                 
    LEIH Returnable packaging    
    LGUT Empties (retail)        
    MODE Apparel (seasonal)      
    NLAG Non-stock material      
    NOF1 Nonfoods                
    PIPE Pipeline material       
    PLAN Trading goods (planned) 
    etc.
    ex:
    select * from mara where mtart = 'ABF'.
    Regards,
    Kiran B

Maybe you are looking for

  • IPhoto 9.6 upgrade photos gone only "old master"

    I was forced to upgrade to iPhoto 9.6 when I upgraded to Yosemite. Now when I open iPhoto, all of my photos are gone. I know they are not completely gone, because I was able to find them when I opened package contents. However, everything is not unde

  • Question about data back up

    I'm having trouble with my computer and may (but i hope not) lose all my files in the attempt to repair it. I want to know if the data back up discs will restore my library into a new instance of itunes if it becomes necessary. I would hate to lose a

  • IPhoto 9.5

    iPhoto 9.5 is now up on the App Store. Note that it might be a couple of hours before it shows up on your App Store, depending on where in the world you are.

  • Envy 17-j051ei ssd compatibility list?

    Hi Could you please post a list of compatible SSD's including which HP recommends. Kind regards This question was solved. View Solution.

  • Duet Enterprise 2.0 -  Accessing SAP DMS Documents

    Hi, Is there any possibility to access the SAP DMS documents using Duet Enterprise 2.0 from SharePoint 2013? If the answer is No, then what is the starter services in DE 1.0 and why the DMS functionality is included in that and not in DE 2.0, which w