Question about Publishing Application URL

Hi All,
I've done a bit of digging, and think this is probably not possible using an APEX application hosted by oracle on apex.oracle.com, but I wanted to post here and check just in case I was wrong.
I've installed the packaged APEX 'discussion forum' application into a workspace set up for me on apex.oracle.com.
Reading through the user guide on publishing the app url, they say to give http://apex.oracle.com/pls/otn/f?p=<app#>:<page#> to the users.
This is fine, but as this is for a small forum, I was wondering if there is any way to get a nicer url, even if just something like http://apex.oracle.com/pls/otn/my_unique_forum_name.
I've seen that if I was hosting myself I could use apache to rewrite my preferred url to match the required app#:page# format, but is something like this possible for an app hosted on apex.oracle.com?
If anyone knows if this is possible/impossible - let me know.
Thanks,
Tony

Hi Chris,
Getting some compilation errors here. Can you explain to me you the compiler will understand f?p=102:1;
Here is my procedure:
create or replace procedure "FORUM"
is
begin
f?p=12345:4;
end;
And the compiler errors with the following:
Compilation failed,line 4 (13:45:14)
PLS-00049: bad bind variable '4'Compilation failed,line 4 (13:45:14)
PLS-00103: Encountered the symbol "?" when expecting one of the following: := . ( @ % ;
Do I need to escape the colon somehow to avoid interpretation as a bind variable?
Thanks for the clarification, and sorry if this should have been obvious ;)
Tony

Similar Messages

  • Newbee questions about XE application builder

    Hi
    I find that Oracle support someting that we can use to build some real database driven applications
    i have some questions about it :
    1-Does this application builder differ from Oracle 10g R2 Application builder ? i means is it limited ?
    2-Does any one use it to build a real world application that works some where in some business place ?
    3-what is its behind code and technology , does it use JSF and managed Beans ? how i can see the generted codes ?
    Thanks

    Hello,
    Here's the link to the Application Express Forum Oracle Application Express (APEX)
    You should also look at the Application Express OTN page, http://www.oracle.com/technology/products/database/application_express/index.html there is howtos tutorials all sorts of good stuff.
    Carl

  • Question about managing application licenses together with netboot

    Hello
    So far I had made no experience with an MacOSX Server netboot configuration but we plan to introduce it in some weeks. Therefore we are "wondering" how management/assignment of application licenses is working in a netboot configuration. Normally in a local MacOSX configuration licenses for application are in generally assigned on the application (some are bound to a certain user name, others to the CPU ID) and is valid for all users login to the same computer. How and at which time are application licenses (for example MS Office 2004, Adobe Acrobat etc.) assigned in a netboot environment?
    Many thanks in advance for any clarification and with best regards, André Müller

    Hi Andre,
    Is this a technical or legal question Either way it is an interesting question about a major grey-area, and I wonder if anyone has the right answer.
    Boiling your question down to specifics, it could be...
    I have 15 individual Photoshop serials. I want to run Photoshop off a NetBoot image for 15 simultaneous users. Can I install one serial on the image, and allow 15 users to open Photoshop simultaneously. What if I want to install the image on 20 machines, but only 15 users will ever use Photoshop simultaneously.
    There is a technical answer and a legal answer to the question. I don't know if there is a 'right' answer since multi-user installations of titles that are technically possible under NetBoot may not be allowed legally under the user license agreement you committed to on breaking the seal on the software. And these agreements are different for different countries.
    Here's the technial answer. Sometime before OSX server 10.0, when Apple introduced netboot technology, developers were advised not to perform network scans checking for duplicate serial numbers when aps start up.
    In practice this means you can install software title on your image, activate with a serial number, and it will not conflict with the other identical versions of the same application on other images on the network.
    FileMaker Pro is the only software I am aware of that doesn't play by these rules, altthough it no longer checks when the applicaton starts, but when any FMPro network activity is started.
    Here's the leagl answer. It depends on the title and the country you are in. The legality is definded under the eulas for the titles concerned. I don't know if the leaglity has ever been tested in a court of law in any country in this context.
    The easy way to do the right thing for some titles it to purchase a multi-user serial number, ie. a single number which will work for 5 or 10, 20, 50... etc. users. Fore example, FileMaker has a volume licensing serial number which I beleieve can be purchased in increments of 10 users. However, not all titles offer this option, though, and it's difficult if you need 12 copies and have to buy 20.
    Sassafras software http://www.sassafras.com/ sells Keyserver, which may be an appropriate solution. Keyserver tracks installations and authenticates serial numbers to ensure no more than the licensed number of copies can be run at the same time.
    I don't think I've answerede your question for you but hope to have expanded the contxt of the question for other suggestions.
    Good luck,
    b.

  • Question about evictor, application performance, and log growth

    Hello,
    I've got an application that using two BDB environments, one with critical data and one with data that can be reconstructed, just for the sake of backup convenience. For a while, I was getting OutOfMemoryErrors with increasing frequency. This caused the app to crash without closing the databases or the environment until the recovery time was around 30 minutes. After reading through many of the posts here and trying various workarounds, I got to a state where that stopped happening. I think that what did that fixed is was decreased the cache sizes.
    Then, I was seeing what appeared to be evictor deadlocks. The application would hang for thirty minutes before a monitoring script that I've got would detect that no work was being done and would restart the application. Another round of searching ensued and I seem to have gotten it to a state where it doesn't run out of memory or deadlock anymore.
    After getting rid of all these issues and letting it run for four or five days, the size of one of the critical BDB environment was 550GB. Since it was almost filling the drive, I moved it aside and created a new BDB for the app to use. Now, I'm trying to figure out what happened. It looks like the BDB contains about 15G of actual data.
    It seems like everything starts out fine and then, somehow, it starts to collapse under the weight of itself. I'd like to figure out what type of abuse I may be guilty of that could cause this.
    Here's a little bit about my application:
    First (critical) BDB environment:
    - add only, no deletes
    - two databases
    - average data sizes are 1k and 11k respectively
    - average key sizes are around 80 and 16 bytes respectively
    - almost no locality of reference to access pattern in either
    - minimal lookups, mostly used as an archive
    - cache size is 1MB
    - 8 threads reading/writing, 40 threads reading only
    Second (reconstructable) BDB environment:
    - six databases
    - five databases are mostly add with purges of two-week-old data
    - one database has frequent adds and deletes
    - lots of lookups, things are likely to be looked up shortly after they're added
    - cache size is 64MB
    - 40 threads reading/writing
    On both environments,I've set je.evictor.forcedYield=true.
    I'm running the JVM with:
    -Xmx1800m
    -Dje.adler32.chunkSize=8192
    -XX:+UseMembar
    JVM version is:
    java version "1.6.0_01"
    Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
    Java HotSpot(TM) Server VM (build 1.6.0_01-b06, mixed mode)
    BDB version is 3.2.23
    OS/Kernel is:
    Linux app2 2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 17:17:21 EST 2007 i686 i686 i386 GNU/Linux
    So, my question is:
    What could cause the critical database (especially with no deletes) to grow to 550GB when there's only 15GB of data in it? It was my understanding that the cleaner should take care of any unused log file cruft. It seems like the log files grow faster as the performance gets worse. I have no idea which is the cause or the effect.
    And, I guess the real question is how can I prevent this in the future?
    Thanks,
    -Justin

    For the record, the problem was that the user's cache size was too small for the size of the database thereby creating a large number of records in the log when eviction of dirty records occurred. The cleaner was unable to keep up with the log load.
    Note to readers: eviction of dirty records causes records to be written to the log. JE has to evict to somewhere and the log is what it uses.
    Charles Lamb

  • Question about multiple application modules.

    Hello,
    Suppose I have 2 database schema’s. For both schemas I have 1 application module. All view objects are in the same project.
    For each application module I have an application definition.
    Is it possible to link between these two applications? Because sometimes these database schema’s link to each other and you would like to jump from one application directly to the other.
    For example you have orders locates in 1 DB schema and customers in another DB schema.
    You would want to jump from the order directly to the customer details in the second schema.
    Is this possible? Or do I need to make nested application modules etc?
    I can find very little info about this; the JHS def guide does not offer much information about multiple application modules etc.
    -Anton

    Anton,
    Yes, you can jump aroundd as you like.
    You just can't use view links between VO's based on different db schema tables.
    Nesting AM's doesn't help there, the DB connection of the top-level AM will be used.
    Why don't you create synomyms for the tables in the other schema?
    Steven Davelaar,
    JHeadstart Team.

  • Questions about Real Application Testing(RAT)

    Hi All,
    We have a production database running on 10gR3 on a server with local drives, while we have a Oracle 11gR2 DB running on a server with NFS mounts (using S7310 - AmberRoad) i.e. Faster and better storage.
    We captured the load on 10gR3 and replayed it on 11gR2. We noticed the following:
    (1) Replay is considerably slow even though Oracle11gR2 instance has a faster storage. We suspect that it may be something to do with the buffer cache / SGA because there is nothing in cache on the target (we didn't shutdown 10gR2 DB for capture) – what should we do then?
    (2) To make sure that we can take the advantage of cache, we replayed the load 2nd time right after the 1st replay and everything ran to our surprise. So we are wondering how’s that possible since we did not restore the DB as we do not want to wipe off the cache (chicken and egg situation)? Does Oracle rollback the changes after the replay?
    (3) Do we have to restore database on Target every time we do replay? But if we do that then we won't have anything in the SGA.
    So we need your advise and also would like to know how everyone else is doing this testing?
    Regards,
    RJiv.

    DB Replay's workload capture facility allows you to either start capture from a closed (mounted) database (capture starts upon opening the DB), or to begin capture mid-stream during normal activity. Starting capture on the production system from a closed database eliminates the divergence in performance resulting from a primed cache, as well as possible data divergence issues from open, partially-completed transactions at the time the capture started.
    For many customers, it will clearly not be possible to close their database during peak periods (!!)
    One way to address the cache priming issue is to start capture in production from a closed state during a low period of activity, and the allow capture to run through the peak period.
    Another approach is to start capture mid-stream with the DB open and to run capture for a long period (long enough to stabilize the cache). When performing the replay, begin a new AWR snapshot after the cache has stabilized.
    Your question about running the replay again after the first replay is done is confusing. Of course you will not get meaningful data from that, since replay must begin from the capture start SCN. If you run replay twice in a row without reverting the database to the capture start SCN, it will be applying meaningless changes to a database in a state that is unlike that of the original. You will be testing the data errors codepath instead of real performance.
    It is typical to enable database flashback on the repay database so that it can be repeatedly reverted to the capture start SCN for testing under a variety of scenarios.
    Regards,
    Jeremiah Wilton
    Blue Gecko, Inc.
    http://www.bluegecko.net

  • Question about publishing Calendar and URLs

    Hi everyone, have a question that hopefully knows the answer too. I have been researching on how to publish individual user calendars to external users.
    I have seem to come across 2 different ways to do this
    1) is to right-click on my calendar in OWA, then I select the external recipient and it emails the recipient a long url similar to:
    http://webmail.mydomain.com/owa/calendar/[email protected]/4d9f8b52769b4ddca3e51f6f82d01b6f1902995877095312719/S-1-8-2306188436-3125773453-2945785077-3615357645/reachcalendar.html
    2) Within Outlook 2013, I click on "publish calendar" and it takes me to an ECP url for my exchange server where I can select how many months I want to share, the permission they can see, etc... and then it provides me at the bottom with two links
    like:
    http://webmail.mydomain.com/owa/calendar/[email protected]/Calendar/calendar.html
    My question is what are the differences between these two methods and also, both of these urls will NOT work unless I change them to HTTPS instead, how I can modify the links that get emailed out? I did see for the 2nd method above I can set it using the
    "PublishedCalendarUrl" in Powershell, but that is impractical for a lot of users.
    thanks!

    Hi BMIG,
    Please re-start IIS for testing.
    If not working unfortunately, please use IIS Manager to simplify the OWA url and force redirection to SSL.
    Steps as below:
    1. Start IIS Manager.
    2. Expand the local computer, expand Sites, and then click
    Default Web Site.
    3. At the bottom of the Default Web Site Home pane, click Features View if this option isn't already selected.
    4. In the IIS section, double-click HTTP Redirect.
    5. Select the Redirect requests to this destination check box.
    6. Type the absolute path of the /owa virtual directory. For example, type
    https://mail.contoso.com/owa.
    7. Under Redirect Behavior, select the Only redirect requests to content in this directory (not subdirectories) check box.
    8. In the Status code list, click Found (302).
    9. In the Actions pane, click Apply.
    10. Click Default Web Site.
    11. In the Default Web Site Home pane, double-click SSL Settings.
    12. In SSL Settings, clear Require SSL.
    13. For the new settings to take effect, open a Command Prompt window, and then type
    iisreset /noforce to restart IIS.
    Details in the following article:
    Simplify the Outlook Web App URL
    http://technet.microsoft.com/en-us/library/aa998359(v=exchg.150).aspx
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Question about bundling application in Netbeans

    Hi All,
              My question is regarding bundling an application in netbeans? At present I have my application all working fine when I build and clean or run the application within Netbeans.
    Sweet so far! However the standalone JAR that is created each time when I run or build / clean my app does not work. OK I found the problem why the JAR does not work. But what
    I am not sure about is how to do the following in Netbeans?
    See the problem is that my application reads in a small file containing core application information for my programme upon start up. How do I get Netbeans to recognise this file and
    create the appropiate path under the "dist" folder each time I do a NEW build / clean or run my app within Netbeans? Is there a location where I can perform this setting in Netbeans?
    Or do I have to modify some file generated by Netbeans?
    Thank you in advance for your assistance!
    Kind Regards
    Mark

    You may want to use  the Java Preferences API to manage your application info.
    http://docs.oracle.com/javase/7/docs/technotes/guides/preferences/overview.html

  • Questions about database application tables connector

    Hi all,
    I need to manage with OIM several databases (each one with its custom tables).
    Also, one of them will be my trusted target on the initial load of users. The structure of our tables is not similar to the included in the example.
    The documentation explains how the OraAppX.xml could be modified but it doesn't speak about relations with "DBTable_nonTrusted.xml" and/or "DBTable_trusted.xml" For example, if I don't have a column called USR_COMM_LANG, could I replace this column name for another that I have in my database ? And what about the references on the "DBTable_nonTrusted.xml" file. Connector doc doesn't explain how references to that field (USR_COMM_LANG---xel_usr_comm_lang) are managed by the connector and if the normal working of the connector could be affected if the name of a variable is changed in the xml conf file.
    It could be that adapters of this connector were hardcoded with the referece to xel_usr_comm_lang (???) .
    The connector documentation includes a section titled "Adding Custom Database Columns for Provisioning and Reconciliation". The first impression reading this document is that it is possible to extend the predefined table rather than create and define a new structure of table.
    Has anyone rebuilt the "DBTable_nonTrusted.xml", "DBTable_trusted.xml" and "OraAppX.xml" files changing all default variables in order to manage a customized table? .
    Many thanks in advance,
    Claudia

    Hi Claudia,
    1) Yes, you must replace the column names in the "column" tag on your XML file for the column names that you have in your database tables. Also, remember that you need to configure the other parameters (like data_type, data_typ_size, etc) according to your database table.
    2) The "xel_data_source" parameter is the attribute name that will be recognized by the OIM and they can be mapped to a form field (UD_DBAPP_XXXX) in your process definition in OIM Design Console.
    3) You can customize your Database Application Tables connector for provisioning as you wish, but some issues exists. In the Known Issues section of the documentation you can see that this connector doesn't work for more than two tables.
    4) To customize your Database Application Tables for Trusted Recon, there are other restrictions because OIM users have some required fields that must be filled to create a user successfully.
    Hope that helps, and please let me know if you have more questions.
    Regards.

  • A very stupid question about MDic application[SOLVED]

    I have tried StarDict in Arch which I think that is the best known dictionary application in Linux world. Since I had to use mouse to access StarDict, I decided to try MDic instead. My problems is that I do not know the default location of MDic dictionary files. After search topics for about two hours, I gave up.
    There must be a directory where MDic searches for dictionary files. Where is it? or What MDic configuration file has the information? So, I can install dictionary files int to the directory. I looked for this information in http://mdic.gnufolks.org/ and google.com. I believe this kind of very fundamental information should be in the wiki fo MDic. But I couldn't find one. Maybe, it is because I am so idiot. Would somebody help me how to install MDic dictionary in a appropriate location or the default location? Thank you so much for your helps.
    Last edited by since1992 (2010-11-06 11:28:30)

    Yes, it was a stupid question. I found that I can configure the location of the dictionary file. I also installed PyGlossary to convert dictionaries for MDic. Everything works fine now. Thank you.

  • Question about publishing from a small agency

    Hi,
    my apologies if this question has already been asked, but I've not been able to find a clear answer yet looking through here.
    I work for a small agency.  We prepare materials for a small number of sales reps (less than 50) for about 4 clients.  All of these reps will soon have iPads, and we are preparing materials solely for iPad use.   We do not prepare materials for public consumption - we know in advance who all of the users of our pepared materials will be.
    I've been reading through the DPS materials, and I've experimented with the Folio tools in InDesign.  My questions concern distribution.
    Since we have such a small number of people that we need to send materials to, do we even need to purchase a DPS license?  It seems as though I can prepare multiple folios in InDesign and send them up to the Folio Producer.  I can then share them by using the 'Share' button there and typing in the email addresses.  As long as the recipient of the email has an Adobe login, and has the Adobe Viewer app on their iPad, it seems like they can load the folio.  In this scenario it doesn't seem like we need to use the Distribution Service?  But I'm wondering if there are limits to the number of folios we can send up to the Folio Producer, or if there is a limit to the number of people we can send out materials to using the 'Share' method?
    If my assumption is correct, and we don't currently need a DPS license, I'm wondering what advantages we could get from a license (DPS Pro Edition for example).  I think these could be:
    - if we want access to analytics?
    - if we want to be able to package as a native iOS app and sign using an Apple enterprise distribution certificate?
    - if we want to have a custom version of the Viewer? 
    Thanks for any assistance you can provide.

    Hi Rkapper,
    No, you don't need to purchase a DPS license if you want to distribute via sharing. You can also set up a single account using an email address such as publish@"mydomain".com and everyone logs in with that address.
    Is there  a limit to the number of Folios, No, but I think there is a limit of 2GB, you would need to pay for a monthly Acrobat.com account to put up more data.
    The advantages you get with a license: yes, yes, yes and support.
    Tony

  • Question about "run application once" semantics...

    Hi to anyone still out there. We're still using ZfD 3.0SP1a with the
    latest NAL patch (10.4.2002). Things basically are working but we're
    redoing our software distribution strategy to try and streamline things
    and squeeze a bit more life out of the platform. As part of the process, I
    moved away from force run MSI installs by user for basic stuff to force
    runs which call msiexec /i some.msi (or setup or whatever...) and
    associating these to OUs. I was planning to use the app version number to
    force redistribution whenever I put up newer MSIs or installer files. In
    testing, I noticed that msiexec was running on each login for each package
    and that wasn't what I wanted. I want the installers to fire off once,
    then again whenever I bump the version number. So I checked off "Run
    application once". Now the apps run only once but do not redistribute when
    I up the version number. If I use nlist to query eDir, I can see the
    attribute "zenappDisconnectedVersionNumber" has been incremented in the
    directory but looking at HKLMSoftwareNetWareNAL1.0Distribute*, the version
    number for that app never moves and the software isn't redistributed. The
    apps are all set to "wait on force run".
    Am I misunderstanding the use of this attribute? I suppose I could leave
    "run application once" off and set up some registry flags to control
    distribution or even just let them run on each login but I want to do this
    in the cleanest fashion. Any suggestion about what I might be doing wrong
    or how to work around/troubleshoot this issue? Thanks in advance!
    Michael

    Thanks, guys. I have a follow up question/issue related to this
    environment. I am pushing out a handful of apps associated with
    workstations via OUs (force runs which call msiexec or a setup). I've
    tested this a hundred or more times in my own OU but in several other OUs,
    I've now run into this issue when NAL kicks off the first app install. I
    get a WMRUNDLL.EXE error and no software distribution occurs. The text of
    the Dr Watson error is:
    The application, WMRUNDLL.exe, generated an application error The error
    occurred on 11/07/2007 @ 12:54:26.495 The exception generated was c0000005
    at address 004AED14 (NWAPPCreateFullObjectName)
    In setting up a few machines today, the first ran fine, the next 3 got
    this error. I've synched up everything in PUBLIC across all servers; all
    NAL related files that I'm aware of (that show via NAL's "more" button)
    are from the last update for ZfD 3, dated 10-04.2002.
    I did some searching and the little I was able to find seemed to point at
    a particular version of wsreg.dll. Wasn't able to find any particulars
    though. Fwiw, wsreg32.exe and wsreg.dll in PUBLIC were dated 6.26.2001. I
    swapped in a wsreg.dll from 10.22.2002 which I believe was part of the
    49SP2 client. That apparently hasn't helped. Worst of all, it seems
    intermittent or arbitrary - I can't really see what's different between
    the environment I'm currently in that is experiencing the error and the
    one in which it's working. It's the exact same base image, exact same
    PUBLIC dir... the only difference is that it's not my home OU. I checked
    workstation policies in the other OU and they appear to be the same as in
    mine.
    I thought I was past this as the PUBLIC sync seemed to clear things up at
    another location but now I'm seeing it again. Have you seen this before?
    Any suggestions? Thanks a lot!

  • Question about Messages application and AIM.

    Hello, I purchased my first apple device last year (iphone) at which point I created an iCloud account and received an @me email address. This is also my Apple ID. Later in the year Apple also gave me an @icloud email like everyone else. I am enjoying my iphone very much and this year I decide to purchase my first os x device (macbook) soon. This is what leaves me to my following questions:
    1. I wish to use the Messages application just for iMessage and not AIM or any other IM service. It is my understanding that about 2 years ago .mac and mobileme users were having AOL create Lifestream profiles for them without pemission. Now I have never been a .mac or mobileme user and only signed up icloud last year as previously stated. I just want to know if AOL is still creating these profiles and if they affect icloud users? I could not find any information about this issue being resolved. Would using the Messages applicaton just for imessage have the risk of having my icloud email have a Lifestream profile created for it?
    2. I am aware that when setting up my macbook for the first time it will ask to sign in to with your apple id and then into icloud. I plan to do this. I am told that this will make me signed into imessage automatically in the Messages application. What I want to know is if this will make me sign into AIM automaticlly too? I have no intention of ever using AIM so I hope this is not the case.
    I hope I have made myself clear as English is not my fist language. Any help with these questions is greatly appreciated. Thank you.

    Hi,
    The last bit first.
    iChat was the application used before Mountain Lion and Messages.
    It could only join the AIM, Jabber and in iChat 6 the Yahoo services.
    These are Instant Messaging services so the text sent between you and a Buddy tend to be referred to as IMs.
    The AIM site I linked to above has an Option (when you can log in there)  that allows your to turn this AIM feature Off.
    Some Jabber servers can do it but it tends to be an option the person running the Jabber decides to do or not.
    If a Server is set up to allow Off Line Messaging then those have to be stored.
    These can  a concern for the person running the server; either with storage space in the first place and for issues around governments want to "see" the data.
    A part of the iChat and Messages apps perform a "Listening" function when you turn your computer On but do not launch the App.
    This Listening will start up the App if anyone send you an iMessage  and AIM or Jabber message.
    However this function of Messages can be turned Off.
    This pic was created for something else but you can see the second line down is about setting the Status to Offline when the App is Quit.
    This effectively stops the App doing the Listening.
    Back to the Lifestream issue.
    I am not sure what triggers the Lifestream to be set up.
    I used a Search on the Lifestream site for my main AIM Name (which I can set the Lifestream to Privacy > No-one) and for my @me.com one which I cannot log in to the AIM settings site.
    I cannot see anything returned in either case.
    I also tried when Logged in under my main AIM name and got this form my @me.com ID
    I think that when AOL/AIM started Lifestream all those people that had AIM and AIM valid Screen Names were included in Lifestream.
    It may now be different and you may have to sign up for it.
    There seems to be a set up page.
    It would seem that my @me.com ID and @icloud.com ID have not been set up for Lifestream where as my AIM account (Main AIM Name as I call it) was set up in the beginning.
    I am afraid I don't have any clearer information than that on this part of your enquiry.
    8:03 pm      Friday; October 25, 2013
      iMac 2.5Ghz 5i 2011 (Mountain Lion 10.8.4)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Question about desktop applications & interactivity w/ a server

    Hello!
    I'm new to Java programming (I'm a Web designer) and I'm working on a project and need some information/advice.
    We are creating a desktop application in Java. Phase one will be "purely" desktop, but in the future we would like to add the capability to store/retrieve data from a remote secure server. (ie: users can upload their data to a secure server so that the information can be shared (eventually) or downloaded if the data is lost.)
    Are there special considerations for this type of application? Do I need to worry now about this or can this sort of functionality be built in later without a lot of re-coding? As you can see, I'm unclear on the differences between desktop Java and web Java.
    Any help is greatly appreciated!!!
    Amy Crawford
    Burlington, VT

    Consider the following loadData method:
    void loadData( String filename ) {
       FileInputStream in = new FileInputStream( filename );
       //read data from in
    }Later... you'll want to use files AND urls or even sockets?
    you'll have to create one or two additional loadData methods. Instead... Leave the creation of the input and output streams separate from the actual loading and saving of data.
    void loadData( InputStream in ) {
       //read data from in
    }You'll still have to write additional code that connects to the network resources later, but that's all you'll have to write since your loadData method can now accept any open InputStream as a source of input. Like Dr Nes said... A good object oriented aproach works best.
    Try not to limit your programs if it's not neccesary.

  • Question about carDemo - wrong URL shown

    Made carDemo running on my machine successfully. Kool stuff!
    Found something wrong, the question may seem silly.
    The URL shown on my brower is always the previous page:
    e.g. http://localhost:8080/jsf-cardemo/chooseLocale.jsf -- for the store front page
    http://localhost:8080/jsf-cardemo/storeFront.jsf -- for the carDetails page
    It can be quite dangeous if I do a page refresh. Is there anything wrong?

    Thanks!
    Such a trivial problem. Why the example is released with this problem? It really confuses the user, not mention it will cause problem with refesh.
    Will try the prefix mapping (/faces/), hopefully, it will solve the problem.

Maybe you are looking for

  • How to find total report based on a particular subject area in OBIEE?

    Hi Everyone, I am new to OBIEE. I want to find out all the reports based on a particular subject area as there are many subject areas and lot of reports in OBIEE. Please help me out in this issue. Thanks Regards Sohail Dayer

  • Weird Firefox Happening Please Help!

    When I minimize Firefox 8.0.1 to work in my windows 7 computer it won't stay minimized but about 30seconds then it maximizes all by itself without any intervention from me. I minimize it and it starts all over again. Has anyone had this problem? Than

  • Shutdown composite before SOA server goes down or shuts down

    Hi, i s there any ways where we can shutdown all the composites in a node before we shutdown SOA Node, and similarly bring up all composites after SOA node is up. Shirish

  • Problem with the new pattern tool in CS6

    When I make a pattern like the image below, it appears some vertical and horizontal lines where the pattern ends, when you change the zoom of the page, the lines appear and disappear alternatively The problem is that these lines also appear when I pa

  • Calling Transaction Launcher :

    Hi Experts, I have called my Z transaction from transaction launcher by BOR method. I have completed this properly. My requirement is to call Interction record creation Screen in webui when i press save button in Z transaction launcher. I tried getti