Why should i use Java in Web form

I am making a web calculator. Its takes some inputs from the user and evaluates input to calculate the result. I dont want the user to see the interpretation of their result.
I am new to java. Can anybody tell me if i can do that with ASP?

if you want to use java use JSP not ASP.. JSP is as powerful or more powerful than ASP

Similar Messages

  • Why should I use Java

    HI,
    Someone asked me why are you using Java when you can use Visual Basic.
    Well, I ask this question in this forum ?? why ...
    please leave out the portablity part
    --j                                                                                                                                                                                                                                                                                                                                                   

    Well, here is my 2 cents, as it were. I tried learning VB, and found that while it is powerful, when it comes to designing specifically for Windows systems, I found it extremely hard to understand. When I first learned Java, it didn't take me long to understand the concept and relation of classes and objects, and I was writing Swing apps in no time. With VB, it wasn't that easy. Yes, it was mostly drag and drop and add a few lines of code, but I don't like that. I like to be able to get down into the code and see why it works the way it did, and with VB, I just couldn't grasp it. But with Java, it took me no time at all to be able to understand why it worked the way it did, and because of that, I will always choose Java over any other language, except maybe Miva Script, which is a server side language used for e-commerce websites. It was another language that was easy to learn. Does this mean I'm a lazy programmer, always taking the easy way out? Probably, but if it's easy for me to learn, it's easy for me to implement.
    James

  • Why should we use SUb Class in Forms - Template

    Whatr is the benefit of using SUbcalss properties in Template.fmb
    Edited by: O.Developer on Oct 29, 2012 12:10 PM

    I'll assume you mean that you want to generate HTTP responses from XML streams using XSL transformations.
    It's a good idea because now you can be flexible about how you render responses. You can have one stylesheet for a browser and another for a WAP phone. You can choose the stylesheet to use based on the kind of client you're talking to. New clients simply mean new stylesheets. Very flexible, very nice.

  • Why should I use EJB

    Hi,
    My name is Gandharv Sirohi. I am a student, and new to EJB. I want to know why should I use EJB, before I can start learning it if every thing can be done using Java Servlets and JSP.
    I tried to find out the answer to this question in books but there is no satisfactory answer.
    Can some body help me understand this simple question. I will be thankfull

    Hi gandharv,
    It's true there are a lot of services available to both the web tier and the EJB tier. One of the
    real strengths of EJB is support for transactional business logic. Web components can
    explicitly demarcate transactions via UserTransaction, but container-managed transaction
    support in EJB components at the business method level offers a much simpler approach
    for developing and maintaining such applications. An example of some EJB services not available
    in the web tier are : method-level security, RMI-IIOP access, message-driven beans,
    transactional/persistent timer service, stateful components, extended container-managed
    persistence contexts, guaranteed single-threaded execution, and interceptors.
    Of course there are many services available to the web tier that are not in EJB. It's not
    about picking one of the two that should always be used. Like any tool/technology, each has its strengths, weaknesses, and design center.
    --ken                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Why should we use WSDL for developing webservices

    I need to develop Webservice Application for our Client .
    I dont know anything about WSDL4J
    Hi from the net i found this
    "The Web Services Description Language for Java Toolkit (WSDL4J) allows the creation, representation, and manipulation of WSDL documents.
    Is the reference implementation for JSR110 'JWSDL' (jcp.org)."
    But anybody please tell me why should we use WSDL for developing webservices ??
    Is there any specific advantage we will get ??
    And Can body please point me a link where to start for working with WSDL4j ?
    Thank you very much

    i seriously doubt you want to use wsdl4j unless you are doing really advanced webservice work. assuming you are developing this webservice from scratch, you basically want to use JAXWS: define an appropriate interface and your value classes, and let JAXWS do the rest. metro is the JAXWS implementation included in the oracle jdk and it has great tutorials and reference documentation online. i'd suggest you start here: http://metro.java.net/getting-started/

  • Image not displayed in pdf generated using Java API for Forms service

    Hi,
    I am creating a pdf document using Java API for Forms Service.
    I am able to generate the pdf but the images are not visible in the generated pdf.
    The image relative path is coming in the xml as defined below. The images are stored dynamically in the Livecycle repository each time a request is fired with unique name before the xml is generated.
    <imageURI xfa:contentType="image/png" href="../Images/logo.png"></imageURI>
    Not sure if I need to specify specify specific URI values that are required to render a form with image.
    The same thing is working when I generate pdf document using Java API for Output Service.
    As, I need to generate interactive form, I have to use Forms service to generate pdfs.
    Any help will be highly appreciated.
    Thanks.

    Below is the code snippet:
                //Create a FormsServiceClient object
                FormsServiceClient formsClient = new FormsServiceClient(myFactory);
                //Specify URI values that are required to render a form
                URLSpec uriValues = new URLSpec();
                                  // Template location contains the whole rpository path for the form
                uriValues.setContentRootURI(templateLocation);
               // The base URL where form resources such as images and scripts are located.  Whole Image path is passed in BaseUrl in the http format.
                      String baseLocation = repositoryPath.concat(serviceName).concat(imagesPath);   
                                  uriValues.setBaseURL(baseLocation);                                        
                // Set run-time options using a PDFFormRenderSpec instance
                PDFFormRenderSpec pdfFormRenderSpec = new PDFFormRenderSpec();
                pdfFormRenderSpec.setCacheEnabled(new Boolean(true));           
                pdfFormRenderSpec.setAcrobatVersion(com.adobe.livecycle.formsservice.client.AcrobatVersio n.Acrobat_8);
                                  //Invoke the renderPDFForm method and write the
                //results to a client web browser
                String tempTemplateName =templateName;
                FormsResult formOut = formsClient.renderPDFForm(tempTemplateName,
                                              inXMDataTransformed,pdfFormRenderSpec,uriValues,null);
                //Create a Document object that stores form data
                Document outputDocument = formOut.getOutputContent();
                InputStream inputStream = outputDocument.getInputStream();

  • Why should i use Apple 'Mail' if i use others like G-Mail?

    Simply:  Can or should i just remove 'A-Mail' so it's icon stops jumping & bothering me to sign up? 
    •THANK YOU, and gratitude to whoever can help me unerstan.
    *I'm 67 and not up to speed on such things.
    BACKGROUND, if necessary:
    •For years I've used only the Mail service of my ISP, Dslextreme ('DSLX').
    I've never used Apple 'Mail' , & never set it up to service mail from any of the mail services that i do use.
    I never activated 'A-Mail'  and i don't think there is mail in it.  Nor have i deactivated 'A-Mail', and it's still on my screen in the 'Dock'.
    •But from time to time, and inexplicably to me,  the 'A-Mail' icon seems prompted to start 'jumping' and wanting me to use it somehow, like sign up for it.  This was a minor annoyance so i just clicked to close it and so ignored it and moved on.
    This seems to happen when a website i'm on wants me to e-mail them and on their page i seem only have a choice to use 'A-Mail', none other, so i am pre-cluded from communication.
    •Just recently DSLextreme switched all us users over to G-Mail.   They turned over their mail operation to GMail and urged us to also getting a G-Account, which i have finally done.
    •I know that A-Mail 'works with the most popular email systems' like G-Mail.
    •"A-Mail"  = Apple's 'MAIL'.   To avoid confusion caused by the generic word 'Mail',  I'm going to call Apple's 'Mail' "A-Mail".
    I've spent over an hour trying to make my problem clear to you.    I hope i have succeeded.

    Apple mail is simply the default email application in OS X. It is not an email service/email address.
    Using an email application, you can read all your email in the same place and store them on your local drive.
    To answer your question, "Why should i use Apple 'Mail' if i use others like G-Mail?"
    You use a mail application for the same reason you use the internet when you could simply drive to the store to buy things or go get a newspaper or go to the library or go to the movie theater, etc.
    But from time to time, and inexplicably to me,  the 'A-Mail' icon seems prompted to start 'jumping' and wanting me to use it somehow, like sign up for it.  This was a minor annoyance so i just clicked to close it and so ignored it and moved on.
    This seems to happen when a website i'm on wants me to e-mail them and on their page i seem only have a choice to use 'A-Mail', none other, so i am pre-cluded from communication
    because the website is attempting to open your email application.
    Sounds like you simply use a web browser to view all your email.
    If you want to send an email from a web page, you need to copy an email address,  open your email account in your web browser, create a new email and paste the address.

  • Diagnostics: Why should I use it?

    Hi everyone,
    I got some questions regarding SAP Solution Manager RCA / Diagnostics;
    -  Why should I use it, what are the benefits and how is this related to (getting) SAP Support.
    - Is it a prerequisite? ( for Support or any scenario( EEM, Project, EWA's ) )
    - Can I use HP Diagnostics instead? Get I still support?
    - Which scenarios can't I use now or in the future ( SolMan 7.1 )?
    Thanx
    Meindert

    Hello Meindert
    It's recommended to at least set it up for Java based SAP systems.
    It gives more information to find the root cause of crashes, without it, java based SAP systems do not always offers sufficient information or you would have to use other third party tools to analyze the crash situation.
    I find it to be very useful, of course you have to know how to use, when to use what and so on but you can find user guides on service marketplace [http://service.sap.com/diagnostics].
    It also offers additional tools to be used such as Configuration Validation which can be used to check the configuration of multiple SAP systems against a template (or predefined templates). Configuration validation can be used to check that your landscapes are in sync (kernel, patch levels, parameters and so on). Prerequisite is E2E Change Analysis (which needs to diagnostics agents to work).
    I would even recommend to install it for at least each productive SAP system you have (regardless if it's java based or not).
    I do know it's a lot of additional work, installation of the agent itself is fast, making sure everything works properly is another story (I schedule a day work to perform installation, configuration and check all functionality for one such agent).
    Kind regards
    Tom
    Edited by: Tom Cenens on Dec 7, 2010 6:10 AM

  • Why can't I get my web forms to send to adobe webmail?

    I’m a newbie with Business Catalyst. So please bare with me.
    Why can’t I get my web forms to send to adobe webmail accounts? The forms work fine with my email accounts hosted elsewhere.

    Are the webmail addresses being used by site admins and users?
    I suspect you have set up the site admins and users to use your other email accounts.

  • Help for using java class in forms 9i

    hi
    i have been trying to use java class in forms9i but unable to execute ,i have encountered exceptions,for which exception handlers have been declared like ora_java.java_error and exception_thrown but failed to handle run time errors , i have tried all ways from my side.
    my java class returns a simple string
    i need help on various work arounds
    thanks in advance
    yash

    sir
    i have written a simple java class which returns a string hello imported using a java importer in forms 9i
    and i call my class in when button press trigger
    i have also imported java.lang.Exception for my exception handlers,i have no compile errors,but when i run my forms i get run time error and my exception handlers fail to trap it . ihave no idea how to proceed .
    should i use bean area in form and call the class using fbean from custom item rigger if so please explain
    can i get sample code example for calling a java class methods from forms.
    thanks
    yash

  • Why should we use DSO instad of Infocube i BW7.4-SAP BW7.4

    Dear All,
    now I'm working with HCM- Payroll (BWreports) Standard reports, data flow is datasource--->Infocube--->Reports, but my architecture given data flow datasource--->DSO--->Multiprovider-->Reports, this is in SAP BW7.4, could any one explain me why should we use DSO instead of infocube..
    Thanks for your helping...
    Regards,
    Narasimha

    Hi
    In Loading purpose:
    Better to use DSO, becouse it involves 3 tables ie New data table, Active data table and Change log table.
    in case of INFO CUBE, here it involves more than 3  tables ie by default 3 dimension tables are existedby SAP... at least we will create 2 tables ie 1 dimension table and 1 fact table ....here it involves 5 tables.( 3 default+1 dimension+1 Fact table)
    Conclusion: When we create INFO CUBE it will takes more time compared to DSO because it involves 3 table
    Conclusion: Best practice is when we load data to taget, better to use DSO
    In Reporting:
    Cube will give summerised data whyle reporting and it is multi dimensional,ie we can analyse the data in multiple ways.
    DSO will give detailed data whyle reporting and it is 2 dimensional , ie we can analyse the data in 2 dimensional way only
    Conclusion: Best practise is Whyle reporting better to use INFO CUBE
    Regards
    Raj

  • Why should I use SQLJ

    Why should I use SQLJ instead of JDBC, is it for faster Acess than JDBC, or for any other reasons

    Why should I use SQLJ instead of JDBC, is it for
    faster Acess than JDBC, or for any other reasonsJust guessing...
    It should be faster - but you should test.
    I would suspect that it is going to be harder to maintain because it is less used (thus less tested), less known (so harder to hire people to maintain) and less 'standard' (thus figuring out what went wrong can be harder.)

  • Why should I use BO BI 4.0 for my existing SAP NetWeaver ?

    Dear Sirs,
    Question about BusinessObjects BI 4.0 & SAP Netweaver 7.0.
    In my company we use NetWeaver for a year. We have some reports on portal, so we have some analysis via www. It seemed to me that this is enough for us.
    Now on the market is available new version of BusinessObjects - version 4.0.
    My question is :
    Why should I use BO BI 4.0 for my SAP BW?
    What will I gain by implementing BO BI 4.0 in conjunction with SAP BW?
    Can I use existing reports on the new platform?
    Can you give some links to documents, presentations and notes to answer these questions?
    Best regards,
    Emmo

    Hi Emmo2000,
    Please see my answers below:
    Why should I use BO BI 4.0 for my SAP BW?
    What will I gain by implementing BO BI 4.0 in conjunction with SAP BW?
    Please see this SDN article which covers a lot of the new features of BI4.0 :
    /people/ingo.hilgefort/blog/2011/03/24/sap-integration-update-9--should-you-start-with-sap-businessobjects-40-or-wait-for-41
    Can I use existing reports on the new platform?
    There is the ability to integrate BexWeb applications via our BI Launchpad. I'm not sure if this is what you are referring to but the following should clarify:
    http://wiki.sdn.sap.com/wiki/display/BOBJ/HowtointegrateBExWebApplicationsintoBI4.x
    Can you give some links to documents, presentations and notes to answer these questions?
    For detailed information on the BI4.0 suite, I would direct you towards our product documentation:
    http://help.sap.com/businessobject/product_guides/
    I hope this is helpful and fully answers your question.
    Kind regards,
    John

  • Why should I use xinetd?

    Im using inetd, but in mandrake I had xinetd, and somewhere I had read that it is better. Is this true?, and if so, ahow do I install it, cause it's not in pacman (i know I cant install it from source, but I wonder if it's hidden somewhere in the distro)

    http://www.xinetd.org/faq.html
    Q. What is xinetd ?
    A. xinetd is a replacement for inetd, the internet services daemon.
    Q: I am not a system administrator; what do I care about an inetd replacement ?
    A: xinetd is not just an inetd replacement. Anybody can use it to start servers that don't require privileged ports because xinetd does not require that the services in its configuration file be listed in /etc/services.
    Q. Is it compatible with inetd ?
    A. No, its configuration file has a different format than inetd's one and it understands different signals. However the signal-to-action assignment can be changed and a program has been included to convert inetd.conf to xinetd.conf.
    Q. Why should I use it ?
    A. Because it is a lot better (IMHO) than inetd. Here are the reasons:
    1) It can do access control on all services based on:
         a. address of remote host
         b. time of access
         c. name of remote host
         d. domain name of remote host
    2) Access control works on all services, whether multi-threaded or single-threaded and for both the TCP and UDP protocols. All UDP packets can be checked as well as all TCP connections.
    3) It provides hard reconfiguration:
         a. kills servers for services that are no longer in the configuration file
         b. kills servers that no longer meet the access control criteria
    4) It can prevent denial-of-access attacks by
         a. placing limits on the number of servers for each service (avoids process table overflows)
         b. placing an upper bound on the number of processes it will fork
         c. placing limits on the size of log files it creates
         d. placing limits on the number of connection a single host can initiate
         e. place limits on the rate of incoming connections
         f. discontinue services if the load exceeds specified limit
    5) Extensive logging abilities:
         a. for every server started it can log:
              i) the time when the server was started
              ii) the remote host address
              iii) who was the remote user (if the other end runs a RFC-931/RFC-1413 server)
              iv) how long the server was running
              (i, ii and iii can be logged for failed attempts too).
         b. for some services, if the access control fails, it can log information about the attempted access (for example, it can log the user name and command for the rsh service)
    6) No limit on number of server arguments
    7) You can bind specifc services to specific IP's on your host machine

  • 64 bits: why should I use it?

    Just for the sake of discussion: If I have a program offered in 32 and 64 bit modes, why should I use the 64 bit version?
    For example, the well known Videolan Player, aka VLC Media Player, recently updated to version 1.0.2, comes in 32 an 64 bit flavors. When would one version be used in lieu of the other?
    And saying "because it is bigger and hence better" is not true. Even Apple points out in the developer pages about the 64-bit fallacy: in that mode, all data structures duplicate in size and if the hardware remains the same, performance will suffer cause you have to push twice the amount of information.

    I just did a test with VLC Player (version 1.0.2), I played the same video in both 32 bit and 64 bit modes (NOTE: NOT talking about the kernel, but the program). Played it several times in both modes and even alternated between modes. In 64 bit mode it caused one of my processors to spike to 104% usage for the first 20 sec before dropping to 4-5%. In 32 bit mode processor usage remained at 4-5% the entire time.
    Played the same video in Quicktime Player X in both modes and saw no difference (used 5-8% processor usage).
    So to answer the question about when to use one version over the other I would say if one version causes notable problems/issues and the other doesn't than use the one that doesn't. Generally you shouldn't see a noticeable difference except in high-end programs that are crunching massive amounts of data.

Maybe you are looking for

  • I can't open a new page in my firefox window

    If I want to open a new page in my firefox window, I click on the + button, but nothing happens. Thanks for your help!

  • Fewer than expected group outlines after display Excel inplace ALV

    After upgrade 4.6 to ECC, I save alv grid layout with sorting and total function .  If you switch to the Excel inplace display in ALV, the system displays an "group outlines" option in only first page (nearly 14 groups) . But the next page cannot gro

  • MSS Object and data provider Important

    Dear All,          I have a requirement of changing the list of data that is displaying on the general information of the Manager iview. The manager should look the Org unit till depth 3. But we have a standard rule for setting it till org unit 2(MSS

  • ORACLE 10.2.0.4 OR HIGHER PATCHSEST

    Hello everyone, Does anyone has oracle 10.2.0.4 or higher patchsest. I want to install oracle 10g on my vista machine Or anybody can tell me where we can find that except my oracle support site where I tried but wasn't successful Thanks

  • Office Pro 8100 printing with Mac

    Since upgrading to Mac OX 10.10 (Yosemite) I have been having a strange problem.  I send something to the printer and I get a message "printer not connected" and "searching for printer".  Generally after 10 to 20 minutes the document suddenly prints.