Using applets as servlet front ends

hi,
i am looking for some examples
thx
Marrek

See http://www.altio.com/ for a demonstration of an applet frontend to a servlet based server framework. If it's code samples you want, then there is nothing special about connecting applets to servlets, just find an example of an applet that connects back to the server it was launched from.

Similar Messages

  • Using ohs as a front end to weblogic

    I had a lot of trouble trying to enable ssl in weblogic (10.3.4 windows 64 bits). So I was thinking of just using ohs as a front end. I need the traffice between the forms and reports clients and the web service to be encrypted. Between the webservice and weblogic and database can be in the clear. I already got ohs to do ssl for application express. It was nowhere as hard to deal with as weblogic (10.3.4) . I don't seem to be able to think like weblogic :-(
    However I need some good and correct instructions on how to do this. Anyone got any?
    This is one of those things where the more you look the more confused you get.
    (BTW this seems to be saying you can't use ohs in front of em or console.)
    for example:
    Doc ID 1268723.1
    Following this note will result in the following architecture:
    Browser --> https --> OHS --> https --> WebLogic Server
    There are three steps needed to configure mod_wl_ohs in this setup:
    Step I: Configure OHS for SSL
    Step II: Configure Weblogic for SSL
    Step III: Configure mod_wl_ohs
    Now that is very complex and one has to face both the wallet and the keystore and more.
    whereas another doc
    Doc ID 1240977.1
    advocates only enabling ssl in ohs and not in weblogic. Well which is it? Does ssl have to be in weblogic?
    If it does I could picture not involving ohs and that apparently crash prone module.

    Well I wanted to close this out by saying that I never found out definitively how to put ohs in front of
    weblogic. (10.3.4) I'm not sure it's that great of an idea considering some reports of problems with
    mod_wl_ohs in support but anyway I did get ssl working in weblogic. Basically I followed 1109753.1 This is the very
    simple way that you just configure ssl for wls_forms and wls_reports in weblogic and no involvement of any apache
    modules or rewriting or proxying or anything like that.
    I did convert the oracle wallet (cwallet.sso) that I was using for ohs to .jks using the
    orapki pks12_to_jks command. That had in fact the server cert and two associated trust certs from the cert
    vendor. Some instructions make it sound like you have to "separate identity and trust" but I didn't and it does
    work.
    Configuration of WLS_FORMS or WLS_REPORTS for ssl is like this:
    in weblogic administration http://myserver:7001/console :
    (environment,servers, WLS_FORMS)
    _________keystores tab _________________
    keystores: custom identity and java standard trust
    custom identity keystore: d:\somewhere\mykeystore.jks
    custom identity keystore type JKS
    custom identity keystore passphrase keystorepasswd
    Java Standard Trust Keystore:     
    C:\PROGRA~1\Java\JDK16~1.0_2\jre\lib\security\cacerts
    Java Standard Trust Keystore Type:     jks
    <no passwords entered for java standard trust although the password is known to be changeit>
    ___________SSL tab_____________
    Identity and Trust Locations:     Keystores
    Private Key Location:     from Custom Identity Keystore
    Private Key Alias: <for key. You can list this with a utility if you forgot>
    Private Key Passphrase: <private key password>
    Certificate Location:     from Custom Identity Keystore
    Trusted Certificate Authorities:     from Java Standard Trust Keystore
    plus in Configuration Tab:
    ssl listen port enabled specify port you want
    I am guessing that since the forms and reports ports are different by default
    that the ssl ports should be different also?
    after that I actually think you have to stop and then start the service instead of just restart ssl.
    Anyway then try whatever your forms or reports url was but using the new port and using https:
    eg. https://my.domain.name:7002/forms/frmservlet
    If that doesn't work then look for the log which is something like:
    c:\<middlewarehome>/user_projects/domains/mydomain/servers/WLS_FORMS/logs look for it there.

  • How to use Java as a Front-end app

    how java application can be used as the Front-end interfaces to Forte based
    applications???
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Rajiv,
    If you have Forte's WebEnterprise product, and Forte version 3.0.G.x or
    later, you have the ability to export an IIOP interface for any Forte
    service object. In fact, you can go one step further and generate a Java
    interface that "hides" the IIOP issues from the developer. The way you do
    this is to do the following:
    1) From the partitioning workshop, double click on the service object you
    wish to expose as an IIOP interface. This will bring up the Service Object
    Properties dialog.
    2) Off the Export tab, set the External Type drop down to IIOP. If IIOP is
    not an available option in the drop down list then you do not have
    WebEnterprise install.
    3) From here you need to set up the necessary IIOP configuration parameters
    (see the documentation for details on the specifics of what the parameters
    control).
    4) If you want to have Forte generate a JavaBean interface and the necessary
    Java classes to be called by your application then make sure you select the
    Java parameter at the bottom of the Configuration dialog. If IDL is
    selected then Forte will generate a generic IDL interface.
    5) When you make your distribution Forte will generate the Java classes for
    you.
    This mechanism works very well for accessing a Forte service object from a
    Java application.
    Good Luck!
    Jeff Wille
    -----Original Message-----
    From: Rajiv Srivastava <[email protected]>
    To: [email protected] <[email protected]>
    Date: Wednesday, December 09, 1998 2:03 PM
    Subject: how to use Java as a Front-end app
    how java application can be used as the Front-end interfaces to Forte based
    applications???
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • How to Edit the xml node value using flex from the front end UI

    Hi All,
    I am having a use case with flex 4.6
    1> To read the external xml file
    2> Display the tree structure in the front end UI
    3> Edit the node values of the xml file from the front end UI and save it back
    How to go about the above use case, any blogs or links on the above case will be help
    Thanks,
    Alok

    Check this is example:
    http://blog.flexexamples.com/2009/07/23/deleting-nodes-from-an-xml-object-in-flex/

  • Using Weblogic as a front end web server

    Hi all, recently there has been a push for us to investigate moving our Iplanet
    web servers to Weblogic. So our architecture would be WLS web instances on the
    front and passing back to WLS app servers on the back end. We would need to run
    SSL and none SSL and handle certificates and multiple applications on each web
    server as well as serve up static content. Has anybody had any experience with
    going to this set up, and if so would you recomend it ? It looks way harder then
    setting up a Apache or Iplanet web server.

    "Mark Griffith" <[email protected]> wrote:
    You should check out 8.1, SSL configuration is simpler there.
    I would say in general that the main weakness of WLS as a web server
    is on
    the administration side of things.
    Cheers
    mbg
    "Eric Sundberg" <[email protected]> wrote in message
    news:3ebfce80$[email protected]..
    Hi all, recently there has been a push for us to investigate movingour
    Iplanet
    web servers to Weblogic. So our architecture would be WLS web instanceson the
    front and passing back to WLS app servers on the back end. We wouldneed
    to run
    SSL and none SSL and handle certificates and multiple applicationson each
    web
    server as well as serve up static content. Has anybody had any experiencewith
    going to this set up, and if so would you recomend it ? It looks wayharder then
    setting up a Apache or Iplanet web server.
    thanks for the heads up

  • Using BEx Web as front end to VC app

    All-
    Is it possible to use the BEx Web frontend, ie we would like the same functionality for users to save data selections to a variant for subsequent resuse, to pass values to a VC application without having to develop a completely custom solution?  We have been looking at JDBC, but is there an easier way to provide the functionality to users to save their filter values in VC?
    If so, please provide some tips.
    Regards
    John

    Custom solution developed with JDBC within VC.

  • Front-end/back-end cluster question

    [att1.html]
              

    Patrick Power wrote:
              > Thanx for your reply Prasad. I was surprised none of the Bea engineers
              > wished to touch this one. What do you suppose is up with that? Either
              > they are too busy, or possibly my question is too dumb.
              >
              I am from BEA so its not that we are not responding ;).
              >
              > Back to the issue: Yes, we will NES bridge/proxy into servlet front-end
              > cluster, potentially with Directors on the very front of the topology for
              > balancing. Your diagram as such:
              >
              > <Netscape/IIS/Apache/WLS FRONT END> ----- <CLUSTER OF WEBLOGIC SERVER
              > > SERVING SERVLETS> --- <CLUSTER OF WEBLOGIC SERVERS SERVING EJB>
              >
              > 1) Does <Netscape/IIS/Apache/WLS FRONT END> mean NES with proxy shared lib,
              > with a WLS service definition into cluster in obj.conf? I assume yes.
              Yes.
              >
              > 2) I would assume that <CLUSTER OF WEBLOGIC SERVERS SERVING SERVLETS> would
              > need the WLS HttpClusterServlet to the <CLUSTER OF WEBLOGIC SERVERS SERVING
              > EJB> all the way in the back.
              No. I was splitting presentation logic (namely servlets and jsp) and business
              logic (ejb) into two layers. Again you don't have to split it into two. You can
              colocate them both together. You could use NES or IIS or Apache or WLS. You
              don't need HttpClusterServlet.
              Lets get this straight.
              1. You need our proxy plugin for failover and to load balance the request that
              are going to presentation logic.
              2. From presentation logic layer, when you talk to backend business logic
              providers (like ejb cluster), if you use stateless session beans we provide
              failover and load balancing. In future we will support clustered stateful
              session beans as well. Therefore you don't need load balancer here.
              3. HttpClusterServlet should run only in front of presentation logic cluster and
              also it supports http only.
              Hope this helps.
              - Prasad
              > The NES proxy would only proxy into the f/e
              > cluster, right? You're not suggesting an external proxy of some type, are
              > you? The HttpClusterServlet is for WLS cluster-to-cluster proxies.
              > 3) A load balancer between the wls f/e and wls b/e clusters? That doesn't
              > seem applicable here. Once again, it should be HttpClusterServlet for WLS
              > cluster-to-cluster proxies.
              > 4) "use two or three proxy servers to avoid single point of failure."
              > Hmmm, once again - are we talking the WLS HttpClusterServlet proxy? Well,
              > that's the inital question: Can I have more than one HttpClusterServlet
              > proxy in the front-end cluster, proxying to the back-end cluster?
              > Otherwise, internally from this WLS architecture perspective, it is a single
              > point of failure.
              >
              > An example: 10 instances in f/e cluster. can more than one of these
              > instances have the WLS HttpClusterServlet proxy to the b/e cluster? Or, are
              > there instances of WLS HttpClusterServlet proxy in all 10 f/e cluster
              > instances?
              >
              > Cheers, Pat
              >
              > Prasad Peddada <[email protected]> wrote in message
              > news:[email protected]...
              > >
              > >
              > > Patrick Power wrote:
              > >
              > > > I know that this topic was addressed to some degree here in an earlier
              > > > posting, but I still have a question regarding the architecture
              > > > design:
              > > >
              > > > If configuring a front-end cluster for servlets/sessions and a
              > > > back-end cluster for remote services -- you route requests to the
              > > > back-end using the WLS proxy servlet. ok, got that part.
              > >
              > > Not quite. The typical scenario is
              > >
              > > <Netscape/IIS/Apache/WLS FRONT END> ----- <CLUSTER OF WEBLOGIC SERVER
              > > SERVING SERVLETS> --- <CLUSTER OF WEBLOGIC SERVERS SERVING EJB>
              > >
              > > You don't proxy and serve servlets from the same server.
              > >
              > > >
              > > > The question: Is there a single instance of the wls proxy servlet in
              > > > the front-end cluster? Or, is it on every instance in the front-end
              > > > cluster? What is the failover mechanism, in the case of a single
              > > > instance of proxy servlet in the f-e cluster failing?
              > >
              > > To prevent that you need to use some kind of h/w or software load
              > > balancer and then use two or three proxy servers to avoid single point
              > > of failure.
              > >
              > > > Is it a single point of failure between the 2 clusters?
              > > >
              > > > Thanx in advance for your help.
              > > >
              > > > BTW, I think Wei, Kumar and the other Bea folks cruising this group
              > > > have been doing a bang-up job of providing badly-needed detail on this
              > > > subject area - material this largely absent from the documentation.
              > > > Good job.
              > > >
              > > >
              > >
              > > --
              > > Cheers
              > >
              > > - Prasad
              > >
              > >
              

  • Help with EJB Arch: Synchronous front-end -- Asynchronous back-end

    Hi folks, We are developing an application with the following characteristics: - users can invoke requests on our appl and they will expect a quick response - to obtain the information requested by the user, our application talks with Tibco using RV. This communication follows a pub/sub messaging paradigm and is asynchronous. - thus, we have a synchronous req/resp front-end and an asynch back-end.
    We would like some advice as to the best way of architecting this application. Here is our approach. Please critic and suggest alternatives.
    1. Consider an user who has requested something from our app. 2. The user will be using a JSP based front-end. (S)he submits the request on a form and a servlet is driven. 3. The servlet uses a session EJB and invokes one of its methods, which handles some business-specific logic. 4. The method in the session EJB then instantiates a helper class. 5. A method on our helper class is now driven. This method sends a message to Tibco and it provides a callback method in the helper class. 6. The method in the helper class blocks the thread - basically, it waits. 7. Meanwhile, Tibco does the processing and invokes the callback method (in the helper class) with the result. 8. In the callback method, the data sent by Tibco is stored in member variables of the helper class. 9. The callback method wakes up the blocking thread. 10. The method in step 6 wakes up and returns the information to the session EJB. 11. The session EJB returns the information to the invoking servlet. 12. The servlet provides the information back to the user.
    The version of Tibco-RV that we are using is not JMS compliant.
    We keep hearing that threads should be handled very carefully in an EJB container environment, so we would like to know if the way we are handling the thread in the helper class is okay. Could we remove the helper class and do the same thread-handling in the session EJB itself?
    Can we use JMS in this solution even though our Tibco-RV does not support JMS?
    Tools: Weblogic App Server 6.1, JBuilder 5.0.
    Thanks for your advice and suggestions!

    Let me start off by mentioning that Sonic MQ (an excellent JMS server) now provides a bridge for TIB/Rendezous. I am also wrestling with a simliar issue, something that requires threading at the servlet or ejb level, and have given some thought to using JMS. My concern was that JMS is an asynchronous process so it's model does not fit well with the synchronous front end. Technically I can see a few ways to implement it but architecturally I am not convinced that they are sound. You could send a message from the session bean to the TIB via SonicMQ and have a JMS message bean registered as a listener for messages from the TIB, again via SonicMQ. The JMS bean could update a static class or singleton which your session checks but you still have the issue of making the session bean wait on that event.
    I'll do a bit more digging and see if there's a design pattern available for this situation.
    -Dat

  • ADF 3-tiered with Swing front-end is it possible?

    Hi,
    I'm beginning to use Oracle ADF and JDeveloper 10.1.3.
    My intention is to develop a 3-tiered application. In the persistence tier an Oracle database will be used, in the business tier I would like to use Oracle ADF, and in the front-end Swing with screens for edit and querying data. The Swing front-end will not have direct access to the database, and in the future the business tier could be used by a Web front-end with Servlets and JSPs.
    Which benefits I can get with Oracle ADF for this type of application?
    What ADF components can be used in the business tier?
    How can it deliver and receive data from the Swing front-end (EJB, Web Service, another approach)?
    Somebody knows some tutorial about ADF/Swing applications?
    Thank´s.

    I've been working on a soon-to-go-production 3-tier ADF Swing project for a while.
    I would say it is possible but not easy. A lot of effort in my project has gone into workarounds for various things that do not work as expected (and not as in 2-tier mode), refresh-issues, deployment issues and other. We have found workarounds for most of them and JDev 10.1.3 is a lot better for ADF Swing then earlier releases.
    Scalability is still an unsolved issue for us as a lot of functionality you'd expect in a rich gui is lost when using "batch mode" which probably scales better then "immediate".

  • PL/SQL as front end.....

    hi....
    Where we use PL/SQL as front end and How to use...? What package used to create the front end..... Give me a sample example... or Give me site link to know more about this.....
    Thanks
    S.Ashokkumar.

    > I think that is not entirely true. You can use Developer 9i where you can use
    the Pl/SQL code to construct a full capability of a web page using this
    PSP? PL/SQL Server Pages?
    PL/SQL (as used in PSP and APEX) is a server-side language. It has not User Interface abilities.
    This means that it
    - cannot display a form on the screen as it is not attached to a monitor/display
    - cannot read user keyboard input
    - cannot read user mouse input
    PL/SQL cannot "talk" to the end-user as it lacks the UI (User Interface) component.
    The only way for it to "talk" to an end-user is to communicate with the actual UI application of the user - and then that UI app can interact with the user, interface with the monitor, keyboard and mouse.
    So how does PL/SQL communicate with the UI? Two basic methods.
    Traditional client-server. The UI is a Delphi/Powerbuilder/VB application. It uses an Oracle Client Driver. It connects to Oracle, executes the PL/SQL code and that code returns data to the UI. The UI renders that data.
    The UI in traditional client-server is a tty (typewriter) device - meaning that each and every key or mouse input can be immediately send (if needed) to the server. E.g. typing text into a combo box can result in a SQL query per keystroke to list the matching values in the database for that filter.
    The UI in traditional client-server also has state. It opens a connection to Oracle. It uses and re-uses that connection. It can lock rows. It can run DML on those rows. It can commit and rollback those locks.
    Thin client-server. The UI is a browser. It has not Oracle Client Driver (or need any other Oracle client software). The UI makes a HTTP (or HTTPS) call to a web server that runs an "Oracle Interface Module". Via this module, a PL/SQL call is made. PL/SQL code writes to a buffer area. The code terminates. This buffer is streamed via the web server to the client UI. The web browser receives this HTTP stream and process it. It renders a web page, graphics, etc.
    The "Oracle Interface Module" is either:
    - a module called MOD_PLSQL used in Apache Web Server
    - a web servlet defined in the EPG web server in Oracle's XML DB
    The UI client is a block device. The user has to enter all the data on the UI. And then submit it. The UI gets a complete screen to render when it receives the data from PL/SQL via the web server.
    The UI client is stateless. It uses a new or different Oracle session each time it talks to the database. It cannot lock rows like in the traditional client-server. It needs to use optimistic locking. PL/SQL code needs to be written to manage the state data for the client. Etc.
    PL/SQL Server Pages are executed via a web server module - the PL/SQL code resides inside HTML pages. This code creates a dynamic HTML pages. This page is send to the web browser.
    Thus, PL/SQL cannot interact with the user. It has to interact with the UI. You cannot use PL/SQL itself as the front-end as it does not run on the client. The front-end has to be an application or browser. PL/SQL needs to send data to that. That UI renders that data and interact with the client. Not PL/SQL.

  • Front end technologies

    I am new to java and am very much confused with these terms.What technologies in java can we use to design the front end
    what are the technologies for businesslayer?
    What are the technologies that can be used for dataaccess layer?
    Thanks in advance.

    I am new to java and am very much confused with these
    terms.What technologies in java can we use to design
    the front end
    what are the technologies for businesslayer?
    What are the technologies that can be used for
    dataaccess layer?
    Thanks in advance.I am pretty sick of that word "technologies". It is really a generic catch all. Java is a "specific technology" so what is it you mean ? There isn't only one manner in which to create a front end. There are dozens if not hundreds of options, depending on how far you want to compartmentalize things. Deciding application or web application is already 2 options both using different things. Business layer can cover dozens of ideas.
    Data access layer - is the data in a file in a database internal to the application itself ?
    Are you talking about things like spring hibernate jdbc etc etc ?
    (Basically there are a multitude of "technologies" that can be used for each of your questions. If you are looking for something to study that's one thing but if you are simply looking for a list look a jobs that list 30 requirements for a junior position, they tend to use the buzz word approach and many of those can be used in your questions.

  • Ms-access XP front-end and oracle ODBC driver

    Hi all,
    I need to set up 5 workstations with ms-access front end accessing an oracle database through Oracle ODBC 9.2.0.5.0 driver and linked tables.
    My main concern is to learn about any issues that may limit what can and can�t be done through access as opposed to an oracle client. I found out that the maximum size of an access XP database is 2GB, but I have not found accurate information as to the maximum number of records ms-access can handle per table. This would be of critical importance to me because the tables I'm working with may eventually hold up to hundreds of thousands of records.
    Concurrency control is also an important topic since 2 or more of the clients may at some point read or write information on the same tables.
    Answers to these questions and any other issues of special importance would be greatly appreciated.
    Thanks a lot,
    JP.

    Just seen this message you had posted to OTN. I am currently looking for some sample codes developing applications using MS Access as front end connected to Oracle database. I appreciate if you can provide me some sample codes that has a master-detail-relationship type of access form that performs an inserts into the master and detail table. Thanks a lot.

  • Database triggers VS Front end triggers

    Hi All,
    We have online ticket reservation application developed using oracle forms 6i and Oracle 8i database in Client server multiuser environment.
    for example we have scenario like this.. AFTER INSERTING into TABLE A,
    we need to UPDATE status column in TABLE B, for achieve this which is better option
    To write database trigger on A,
    or To write a POST INSERT trigger in the form designed uisng TABLE A.
    basically the the dataentry is done through Front end only.
    we are going to have upto 20 triggers of this scenario in the entire database on diffrent tables.
    which is best practice? in terms of performance.
    And we want to have DAY END, DAY CLOSE system, so that once we close DAY, no one allowed to insert data into few tables, for this can we use database triggers or front end check.
    Thanks in advance

    There isn't a confusion here between "application" meaning front-end tool, and "application" meaning "whatever layer contains your business logic" is there? I didn't mean to suggest that i thought it a good idea that business logic be implemented outside of the database, just that it ought to all be in one layer -- my own choice would be db packages, but if someone were commited to putting business logic outside of the db, then that would be the place for all the code.

  • BW Front End

    Hello Experts,
    Can we use any third party front end for reporting or any other reporting software instead of BEx?
    Thanks a lot,
    Nene.
    Message was edited by:
            Nene BW

    Hi dear,
    As you must be knowing BW is an open architecture (see the architeture diagram), it can have 3rd party tools replacing many (almost all) objects. It is just the matter of compatibility between various integrations.
    See diagram under the heading "Business Information Warehouse: Overview" in below link.
    http://help.sap.com/saphelp_bw33/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm
    Instead of BEx you can use Crystal reports, Cognos, Microsoft based reporting tool and many more.
    Hope this helps.

  • Getting iBrowser values in the front end using function

    I have created the iBrowser by setting the value to Datalink for defaultitem in iBrowser and i tried to get the values of the iBrowser using function as
    function value=Applet.getBrowserObject().getselecteditem();
    but it doen not displays any values in browser field in the front end.
    Please help me how to get values in the browser.
    Thanks,
    Rajendra.

    Rajendra,
    You change the function as below and try
    function value=Applet.getBrowserObject().getselecteddatalinkvalue();
    maybe this works in your case.
    Thanks,
    Nagi

Maybe you are looking for

  • [Help] Memory modules not running at full speed

    Hello, I`m having an issue with the Z77A-G43 and some Kingston (KHX2133C11D34GX) dual channel (4Gb x 2) DDR3 modules, which are rated 2133Mhz. I`v set the memories to 2133Mhz from within BIOS / XMP Profiles and and manually increased the voltage to 1

  • H.264 for iPad, problems in CS5 - OK in CS3 (Mac)

    Hi all, I have a CS3 project built on a PC, I've just brought into CS5 on a Mac. The encoding setup is for iPad, running full screen: H.264, 25fps, 1024x768, with a keyframe every 5 frames. I'm using the same setting as the CS3 project. All movies ou

  • Everything is being marked "Low Res" when they're not

    I have a bunch of photos and have used them as desktop pictures, sent them to fm, emailed them, etc. All was well. Then one day my iPhoto marked most all of my pics as f-1006 or low res. When I go into the System Folder to Desktop Appearance, and I c

  • Custom barcode not displayed after changing width

    Hi All, I have a requirement to increase the size of the barcode from 9cm to 10cm in a SAPscript form.  Previously we were using the standard barcode BC_128B.  Using SE73, you can see the the configuration of standard barcode BC_C128B. Bar code      

  • How to reatain advance  in MIRO

    Dear Gurus, There is a standard rule that i will be retaining 10% on the invoiced value,when I am doing MIRO how I can post to the Vendor spl. GL. In FB60 through Complex posting I can do. But the same is not happening in MIRO.I am in ECC 6.00 Regard