General Question about Servlet !!!

Hello my name is Raj,
My problem as a beginner is to compile a servlet but not servlet alone becoz theres a several class imported in this servlet.
Should I compile every .java and then the servlet....coz when I compile the servlet with a normal jdk (latest one) it gives error of importing class...
Well at first I have an error of path where the servlet.jar not included..but I managed to work it out...
what should I do...
regards,
raj aryan maholtra

hi raj,
your assumption is right, you need to compile Some.java first & then compile MyServlet.java. Ensure that Some.class is in a classpath that can be found by MyServlet
Regards,
sathish
Well Miss v sreedevi ,
I did the classpath and still it doesnt work compile
coz of the importing class...
My .java files looks like this in the folder under the
tomcat-webapps-servlet
-MyServlet.java
-Some.java
And I import the Some.java in my MyServlet.java
stuff.
Well should I compile the Some.java stuff first and
then the MyServlet.java....
regards,
raj

Similar Messages

  • General question about iTunes Match and multiple libraries

    Hello to everyone,
    I have a general question about the iTunes Match service, which is available since yesterday in my country (Italy). Currently my library situation is the following:
    Computer A (desktop, Windows 7): "big" iTunes library (about 20 GB), at the moment not associated with my Apple ID
    Computer B (MacBook Air 2011): "small" iTunes library (about 5 GB), associated with my Apple ID
    At the moment, both my iOS devices (iPhone 4 and iPad 2) are synchronized with the smaller library on the MacBook Air.
    Question is as follows: should I subscribe to iTunes Match, would it be possible to upload the "big" library (provided I associate it with my Apple ID) to iCloud while keeping my devices synchronized with the "small" one?
    Ideally, at the end of the day, the situation should be the following: both iOS devices with music from the small library + possibility of downloading songs from iCloud (coming from the big one). Is this possible?
    Maybe the question sounds stupid, but I want to be sure about this before paying for the service.
    Thanks a lot.

    Yes, you could also associate your larger library with iTunes match if you associated your Apple ID with it. However any purchases in the library made from another Apple ID will not be matched with iTunes much.
    If both libraries are part of iTunes match, then all your devices will see all of the content from both libraries, which content you choose to have on those devices and which you have accessible via iTunes match is entirely up to you.

  • Newbie question - general question about e-mail sync

    Hi,
    I have a general question about email sync and BlackBerry smartphones.  Are there any devices that allow email syncing with a Microsoft Exchange 2007 system that do not require the BlackBerry Enterprise server?
    Thanks; sorry if this has been asked before but I was unable to find it in the forums, documentation, etc.  Everything I found assumes that for this kind of environment you will be using a BlackBerry Enterprise solution, but I can't assume.
    Thanks again.
    Solved!
    Go to Solution.

    Hi and Welcome to the Forums!
    If the Exchange server has anything that faces the internet (OWA, POP, IMAP), then BIS can be used to handle email (only email...calendar and contacts require BES to sync OTA).
    Or, a PC, inside the network (but with an internet path) and logged into the email server (using Outlook), can be left running, using the RIM Desktop Software's Desktop Redirector capability to forward  messages to the BB.
    Those are basically the options.
    Hope that helps! Let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • General Question about SAP Documentation. Where to find?

    Hello,
    I am relatively new in the SAP business and so I have some general questions about the SAP Documentation.
    Often internet-links like
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/FIBP/FI-AP-AP-PT.pdf
    are posted here by group members.
    But where do these group members find these documents?
    All I can see at help.sap.com is IDES (the model company created by SAP)and the WWW-version of the SAP-Bibliothek.
    Were can I find these PDF-Files?
    I would appreciate any hint and tip!
    Thank you!
    Kakue

    thats true! i dont know how to find either. Everytime i need something i ask on the forum.
    Here's a good link
    http://www.easymarketplace.de/online-pdfs.php
    Plz reward points if helpfull

  • Question about servlet architecture

    Hello,
    I have a question about Web Application / servlet architecture and development, and haven't had any luck finding an answer so far. My plan must be either unusual, or wrong, or both, so I'm hoping the community here could point me in the right direction.
    I have quite a bit of background in OSGi, but very little in servlets. I know my architecture would work with something such as sever-side Equinox, but for the open source project I'm contemplating, I think that the more mainstream Tomcat/servler route would be better -- assuming it can be done. Here is a rather simplified scenario:
    There is a class, Manager. It could be a Java class that implements Runnable, or a non-HTTP servlet (GenericServlet?), but somehow it should be configured such that it runs as soon as Tomcat starts.
    When Manager runs, it instantiates its primary member variable: Hashtable msgHash; mshHash will map Strings (usernames) to ArrayList<String> (list of messages awaiting that user). Manager also has two primary public methods: addMsg() and getMsgs().
    The pseudocode for addMsg is:
    void addMsg(String username, String msg) {
    if username=="*" { for each msgList in msgHash { msgList.add(msg) } return;
    if username not in msgHash { msgHash.add(username, new ArrayList<String>) }
    msgHash[username].add(msg)
    And for getMsgs():
    String getMsgs(username) {
    String s = "";
    for each msg in msgHash[username] { s = s + msg; }
    return s;
    Once Manager has started, it starts two HTTP Servlets: Sender and Receiver, passing a reference back to itself as it creates the servlets.
    The HTML associated with Sender contains two text inputs (username and message) and a button (send). When the send button is pressed and data is POSTed to Sender, Sender takes it and calls Manager.addMsg(username.value, message.value);
    Receiver servlet is display only. It looks in the request for HTTP GET parameter "username". When the request comes in, Receiver calls Manager.getMsgs(username) and dumps the resulting string to the browser.
    In addition to starting servlets Sender and Receiver, the Manager object is also spawning other threads. For example, it might spawn a SystemResourceMonitor thread. This thread periodically wakes up, reads the available disk space and average CPU load, calls Manager.addMsg("*", diskAndLoadMsg), and goes back to sleep for a while.
    I've ignored the synchronization issues in this example, but during its lifecycle Manager should be idle until it has a task to do, using for example wait() and notify(). If ever addMsg() is called where the message string is "shutdown", Manager's main loop wakes up, and Manager shuts down the two servlets and any threads that it started. Manager itself may then quit, or remain resident, awaiting a command to turn things back on.
    Is any of this appropriate for servlets/Tomcat? Is there a way to do it as I outlined, or with minor tweaks? Or is this kind of application just not suited to servlets, and I should go with server-side Equinox OSGi?
    Thanks very much for any guidance!
    -Mike

    FrolfFla wrote:
    Hello,
    I have a question about Web Application / servlet architecture and development, and haven't had any luck finding an answer so far. My plan must be either unusual, or wrong, or both, so I'm hoping the community here could point me in the right direction.
    I have quite a bit of background in OSGi, but very little in servlets. I know my architecture would work with something such as sever-side Equinox, but for the open source project I'm contemplating, I think that the more mainstream Tomcat/servler route would be better -- assuming it can be done. Here is a rather simplified scenario:
    There is a class, Manager. It could be a Java class that implements Runnable, or a non-HTTP servlet (GenericServlet?), but somehow it should be configured such that it runs as soon as Tomcat starts.You can configure a servlet to be invoked as soon as Tomcat starts. Check the tomcat documentation for more information on that (the web.xml contains such servlets already though). From this servlet you can start your Manager.
    >
    When Manager runs, it instantiates its primary member variable: Hashtable msgHash; mshHash will map Strings (usernames) to ArrayList<String> (list of messages awaiting that user). Manager also has two primary public methods: addMsg() and getMsgs().
    The pseudocode for addMsg is:
    void addMsg(String username, String msg) {
    if username=="*" { for each msgList in msgHash { msgList.add(msg) } return;
    if username not in msgHash { msgHash.add(username, new ArrayList<String>) }
    msgHash[username].add(msg)
    And for getMsgs():
    String getMsgs(username) {
    String s = "";
    for each msg in msgHash[username] { s = s + msg; }
    return s;
    Once Manager has started, it starts two HTTP Servlets: Sender and Receiver, passing a reference back to itself as it creates the servlets. Not needed. You can simply create your two servlets and have them invoked through web calls, Tomcat is the only one that can manage servlets in any case. Servlets have a very short lifecycle - they stay in memory from the first time they are invoked, but the only time that they actually do something is when they are called through the webserver, generally as the result of somebody running the servlet through a webbrowser, either by navigating to it or by posting data to it from another webpage. The servlet call ends as soon as the request is completed.
    >
    The HTML associated with Sender contains two text inputs (username and message) and a button (send). When the send button is pressed and data is POSTed to Sender, Sender takes it and calls Manager.addMsg(username.value, message.value);
    Receiver servlet is display only. It looks in the request for HTTP GET parameter "username". When the request comes in, Receiver calls Manager.getMsgs(username) and dumps the resulting string to the browser.This states already that you are going to run the servlets through a browser. You run "Sender" by navigating to it in the browser. You run "Receiver" when you post your data to it. Manager has nothing to do with that.
    >
    In addition to starting servlets Sender and Receiver, the Manager object is also spawning other threads. For example, it might spawn a SystemResourceMonitor thread. This thread periodically wakes up, reads the available disk space and average CPU load, calls Manager.addMsg("*", diskAndLoadMsg), and goes back to sleep for a while.Since you want to periodically run the SystemResourceMonitor, it is better to use a Timer for that in stead of your own thread.
    >
    I've ignored the synchronization issues in this example, but during its lifecycle Manager should be idle until it has a task to do, using for example wait() and notify(). If ever addMsg() is called where the message string is "shutdown", Manager's main loop wakes up, and Manager shuts down the two servlets and any threads that it started. Manager itself may then quit, or remain resident, awaiting a command to turn things back on.
    Is any of this appropriate for servlets/Tomcat? Is there a way to do it as I outlined, or with minor tweaks? Or is this kind of application just not suited to servlets, and I should go with server-side Equinox OSGi?
    Thanks very much for any guidance!
    -MikeI don't see anything that cannot be done in a normal java web environment, as long as you are aware of how servlets operate.

  • General Questions about BI

    Hello,
    I want to get into SAP BI and have some questions about it.
    Is there a big downside in installing only the BI components without the Java BI components, or is it even possible if you want to work with BI. What are the general differences between BI and Java BI?
    I think the main aspects i will work with will be data warehousing and some basic reporting.
    The reason why i'm asking is that i want to run the BI components in the same system as the ECC Server (its just a test system). I read that the Java BI component needs EPC and EP and that would probably be too much for a single system (6 GB RAM).
    Thanks a lot in advance,
    Martin

    Thanks for your hints, they were really helpful.
    As i mentioned i mainly want to work with the general Data Warehouse and Reporting capabilities, so i think it should be okay.
    Actually i'm planing to write about BI and SAP within my master thesis.
    Another question, what will be with SAP BI in the future regarding the Business Object acquisition? Is there still any point in learning SAP BI or will SAP BI disapear in the future? I heard that the basic BI functionality (e.g. Datawarehouse ) will still be used but the reporting capabilities  would be disappear. I'm not sure if that is right and i'm really new to this topic. So any comments are welcome.
    Thanks,
    Martin

  • Asking general questions about 'computing' matters.

    Hello
    I'm new to the Mac world - I posted my first question on the forums today!
    I have reviewed the discussions site - everything seems very specific to apple products. Where, if anywhere, could I post a general question - like this one:-
    I have a notion that when one connects to a server directly (Usenet newsgroups for example) one makes a deliberate 'hole' in one's firewall, be it software or simply because one is using a NAT router. Sending messages to and receiving posts from Usenet is far quicker than using email, so I'm fairly confident that this is so.
    I am well aware that any URL one visits can instantly determine much information about the connecting machine. (see http://www.browserreport.com/ as an example).
    Anti-malware programs can only detect known viruses and spyware - I see no reason at all why, once one has granted a direct connection facility, between a group on a private server to
    one's own machine, malware could not relatively simply be injected onto one's computer.
    If the malware was currently unknown, how would one ever know?
    Thanks in anticipation of a helpful response
    David B

    HunterBD wrote:
    I'm new to the Mac world - I posted my first question on the forums today!
    Excellent!
    I have reviewed the discussions site - everything seems very specific to apple products. Where, if anywhere, could I post a general question - like this one:-
    Unfortunately, not in this forum. This forum is specifically about the discussion forum itself. It is kind of like a meta-forum. Hopefully, the moderators will just move your post somewhere more appropriate. (As indeed they just did!)
    I have a notion that when one connects to a server directly (Usenet newsgroups for example) one makes a deliberate 'hole' in one's firewall, be it software or simply because one is using a NAT router.
    Kind of and kind of not. Firewalls are greatly misunderstood. But essentially, yes, any internet connection you establish has some risk involved. However, the risk of making an outgoing connection is infinitesimally smaller than setting up a server to let hackers bang on 24x7.
    Sending messages to and receiving posts from Usenet is far quicker than using email, so I'm fairly confident that this is so.
    Really? I don't think so.
    I am well aware that any URL one visits can instantly determine much information about the connecting machine. (see http://www.browserreport.com/ as an example).
    Not really. It depends on what you are doing. You always give away your IP address, unless you are behind a proxy. In that case, you give away the proxy's IP address. But the proxy still knows who you really are.
    If the protocol in question supports such information, then it can be determined. A web browser does send some information about you, but you can easily change it and masquerade as some other browser. With other protocols, it isn't so easy to tell what kind of OS or software is being used.
    Anti-malware programs can only detect known viruses and spyware - I see no reason at all why, once one has granted a direct connection facility, between a group on a private server to
    one's own machine, malware could not relatively simply be injected onto one's computer.
    If the malware was currently unknown, how would one ever know?
    You wouldn't
    Don't grant anyone direct connection to your machine.

  • General question about Mountain Lion

    I've kept clear of Lion on both my MACS because of all the "bad press" it got, I'm still running Snow Leopard on my MACS and I've never had a day of problems with either. Also I run Logic Studios on both my MACS and didn't want to chance having issues with interface compatability, lack of drivers and such. My question is kind of simple and for better or worse comes down to opinion, what is the general feeling about Mountain Lion? Is it a big improvement over Lion? Is it more stable with less bugs? Any issues running Logic? I'm "playing with the idea" of upgrading but I want to do my research first. If Mountain Lion is not a big improvement over Lion or if people are having issues with running Logic I'm going to stick with SL.
    Thanks for your opinions in advance.

    Be cautious about listening too much to replies you're likely to get. These sort of questions in a place like this are like magnets to people who are having problems and want to complain about it. You're likely to hear some horror stories that don't represent the majority of cases.
    ML has been excellent so far for me, faster than Lion and no serious bugs I've discovered so far. But if you upgrade, be sure to do your homework: backup, check compatibility of all your software (including things like printer drivers) and repair the hard drive with Disk Utility before installing.

  • Where to direct a general questions about foreign films subtitles?

    I recently purchased a foreign film "Break Ke Badd" from the iTunes store. Although, it didn't specify that it had English subtitles, I assumed it did. After the full download, I tried to watch it and there weren't any English subs. I contacted iTunes and they more than happy to refund the money back to my account. Now after a few weeks, the iTunes store DOES list Eng subs for this film. I don't want to purchase it again and have to contact iTunes for another refund...Therefore my question is, is there a general question contact one could use to find an answer to my question. Basically, to verify that this movie, indeed has English subs before I re-purchase. 
    Any info is appreciated!

    Yes I know as the [https://support.mozilla.org/en-US/questions/ Questions] section is more for desktop Firefox support and the place I linked to is for "Firefox OS" support in English where some who are involved with it do post in it occasionally.
    I would have moved that [https://support.mozilla.org/en-US/questions/962783 thread] to the "Firefox OS" English section, however I cannot as the [https://support.mozilla.org//questions/ Questions] and [https://support.mozilla.org/forums Contributor Forums] are not the same.

  • Round trip workflow with proxies between Premiere and AE / a more general question about how these programs work?

    Hi all,
    I'm new to editing with proxies in Premiere and have some questions about how to handle the relationship with After Effects. Say I have a rough cut (with proxies) and I want to send it to AE to do some effects. The simplest thing to do seems to be to replace the proxies with the originals in Premiere, send the project to AE and do my thing. But if I then want to send the project back to Premiere, it will involve the original files, which are too machine-intensive for me to edit. In theory, it seems like there should be a way to send the project with original footage to AE, do effects, send it back to Premiere, and then replace it with proxies to do further editing while retaining the effects.
    This leads to a confusion about how AE works. When I do an effect, am I correct in assuming that it does nothing to the original file? If that's the case, it seems like it shouldn't matter (in the editing stage) what file AE "applies" an effect to (proxy or original). But I feel like there's a hitch in this workflow. The same question could also be asked about going back and forth in Speed Grade.
    Perhaps there is no real answer to this and the best option is to save effects and grading for after I have picture lock, but sometimes that's not entirely possible or convenient, etc.
    Hopefully this makes some sense—It's a little hard to explain.
    Thanks.

    Hi Mark,
    Here are the specific sections of the manual that should give you the best explanation regarding the Check out/in workflow for FCP projects in Final Cut Server:
    Check out:
    http://documentation.apple.com/en/finalcutserver/usermanual/#chapter=7%26section =5
    Editing:
    http://documentation.apple.com/en/finalcutserver/usermanual/#chapter=7%26section =6
    Check in:
    http://documentation.apple.com/en/finalcutserver/usermanual/#chapter=7%26section =7
    -Daniel

  • I have a handful of general questions about Firefox OS as a consumer..

    I couldn't find a better place to post this, so I'm trying on here.
    I'm in the market for a tablet (high-end), and I'm holding off on getting an Android-powered one because of Firefox OS. However, I have some general questions and concerns regarding performance, software and hardware. Here they are.
    1. Is the Firefox OS interface as responsive as a native experience on say an iPad or an Android tablet? (Is there any lag on swipes between screens, button presses, etc?) If not, will it be in the future?
    2. Will I miss the Android marketplace or the Apple app store, being restricted to only HTML5 apps? Do you think this will become an irrelevant question as the HTML5 app ecosystem grows?
    3. Do you think the quality of HTML5 apps will be inferior to those from existing app stores because they are free?
    4. Will the Firefox browser be the only one available in Firefox OS? (i.e. will there be the option to use Chrome, Opera or any other browser if the user so wishes?)
    5. Will Firefox OS include useful utility apps, such as an alarm clock, a calendar, a weather app, etc?
    6. I read a lot, both on the web (news, video game reviews), as well as ebooks. Will Firefox OS on a tablet be a pleasant experience conducive to e-reading? (Will it include a good ebook reader app?)
    7. Will there be a high-end Firefox OS tablet that is comparable in specs to the Nexus 10? (i.e. impressive screen resolution, powerful CPU/GPU, lots of inputs/outputs like USB, HDMI, microSD, etc) When do you think such a device might become available?
    8. Would it be possible to flash Firefox OS onto say a Nexus 10 or other tablet or phone if one wanted to use it as their OS instead?
    Thanks!

    1. Depends on the phone but a avererage power android phone would likely cost the same as a high end firefox os phone.
    2. HTML 5 is really the future of the web, I've heard that Firefox will let you package apps to be playable offline, but not sure if thats true.
    3. I '''think''' Firefox OS may have paid apps that will be restricted to users who buy them.
    4. I think Mozilla will be nice enough to let Google and Opera make browsers. Google let Mozilla do that with FF for android.
    5. See the simulator https://addons.mozilla.org/en-us/firefox/addon/firefox-os-simulator/
    6. too early to say
    7. too early to say, but Foxconn (helps apple) makes some apple products, so yes in the future is see a high end Firefox OS tablet 2-3 years down the road.
    8. not sure
    NOTE: Please note that we are only contributors, we dont develop firefox os.
    You can ask more on the IRC channel as there are likely devs there.
    https://client00.chat.mibbit.com/?server=irc.mozilla.org

  • Two questions about servlets

    Hi,
    I'd like to ask you some questons about servlets :
    1) do servlets need a particular JVM on the server. I mean RMI servers need to be started on the server side, while usual applets are loading into the client browser. Are servlet beeing loaded by the browser or do they require something specific on the server side?
    This is because I can only post files on my server, but can't execute java code
    2) can servlets access the server files ? This is because my applets can only load files within the codebase directory on the server. However, i'd like to be able to get something like File.lisFiles() on the server's content. With applets, I have a security problem
    Thanks a lot.
    vincent

    Hi,
    1) Servlets need to be run (deployed) on an application server (i.e. WebLogic, Websphere) which works in conjunction with the web server. When the web server (HTTP Server) receives a request for a servlet from a browser, it passes the request to the application server where the servlet is deployed on which handles the request and provides a response. The JVM will be included in the application server.
    2) Servlets do NOT run in the sandbox that applets run in and thus have complete access to file on the server. This is because the site running the servlets know exactly what code they're deploying on their server and thus have no security concerns.
    If you're site is running on an ISP's server, then you're likely out of luck unless they give you admin access to an application server that runs on their server which allows you to deploy servlets onto.
    makes sense?...
    vc

  • General questions about using webservices and xml as opposed to an oracle driver

    Dear Experts; I have a general question which I have yet to test. Is it faster to use an ODBC driver to connect and retrieve data from an Oracle database than creating a .net webservices and using an XML to get the data for your web application. THank you

    At some point in the architecture stack some component will need to access the database in order to get the information from the database. That component will need to use an Oracle client driver.

  • General question about Mac hardware

    Hello. I have always used Windows. I am considering picking up a used Macbook. I have some questions about hardware. Chiefly, is there a specific reason that Apple is still dedicated to the Core2Duo processors, even in the highest-end Pros? With the advent of the Intel Core i3, i5 and i7 processors, many PC laptop manufacturers have embraced them, especially the better mainstream manufacturers, like Sony and Toshiba. I know a lot about Windows, but I don't know much about OSX.
    Is there something in the software that allows for a Core2Duo on OSX to run as efficiently or more so than an i3 or i5 on Windows 7? As it stands, comparing strict hardware profiles (processors in particular) between what appear to be equivalent current Macbooks and Windows 7 PCs, the Sonys and Toshibas seem to have a distinct advantage.
    Sorry if this is a tired question or whatever. Believe me, I'm not asking "WHAT'S BETTER? A MAC OR A PC?" Really.
    Many thanks to anyone who can point me to an answer.
    Chris

    Well, as to if there is anything that makes OS X run better on the C2D rather than a i3 or i5. I have never use an i3 based computer, but the i5 mac I used was very fast (tried the i5 27" iMac). I don't know why they are currently still using the C2D over that. I can say that the i5 didn't feel any faster, even the quad core Mac pro didn't feel faster. The main advantage to more cores will be in doing more at once. This makes the biggest difference is seen when running things like video editors. There is also a lot more to making the computer fast than just the CPU, the chipset, system bus, video card, and hardware controllers all make a huge difference. Apple has always used very good quality hardware, there have even been times where MacBook Pros have been rated as the best laptops to run Windows. But OS X will run faster on the same hardware because it is a more streamlined OS that uses the hardware more efficiently. Apple works hard to make the OS work as well as it looks, and Snow Leopard runs very well on the current hardware. I have no doubt that Apple will in the near future come out with something newer and better, but my guess is as good as anyone's as to what chip they will use.

  • General questions about JClient

    1. We are having problems with a business application we have developed using BC4J and a JClient client. The performance is horrible. On one update form we have 7 comboboxes, two tabels, some labels and one textfield. It takes 12 - 15 seconds to load, first time, and 4 - 7 seconds second time. Isn't it possible to get better performance on complexe GUI's using JClient?
    2. We have found out that the navigation binding on the comboboxes are about 10 - 15 times as slow as a LOV binding, but we are having problems using the LOV binding. The comboboxes work in a master - detail relationship, and we have that working with a view link and navigation binding. But we would like to use the faster LOV binding. Is it possible to use a LOV binding in a master - detail relationship?
    3. Why are navigation bindings so slow compared to LOV bindings?
    4. What are you general plans with JClient?
    5. Could you possible refer to another project or currently running program that is build using JClient. We feel that we are a little alone on this issue. Is JClient only running on samples, or has it shown it's effeciency in real life.
    6. It is running whitout problems in the samples and when we use the wizards to generate simple forms. But when we construct a complex GUI-structure we quickly run into performance problems. But also unexpected problems that we have difficulty solving, due to lack of documentation and knowledge.
    We would really appreciate, if you would take the time to answer our questions.
    A frustated development team.

    1. We are having problems with a business application we have developed using BC4J and a JClient client. The performance is horrible. On one update form we have 7 comboboxes, two tabels, some labels and one textfield. It takes 12 - 15 seconds to load, first time, and 4 - 7 seconds second time. Isn't it possible to get better performance on complexe GUI's using JClient?Depends on how the application is setup. There are a number of options for deployment that affects how the client app will perform. Are you running JClient app in client-server mode?
    Also in JDev 903, JClient designtime and runtime has fixed a number of issues that led to poor performance by default on a JClient wizard generated app by generating code that performs lazy load of controls and lazy bind of controls. This definitely affects the startup time of forms with tab windows such that only the required controls/bindings on the display is created to begin with.
    Further more if you have a certain example situation that you want us to look at, we'd definitely give that a test to see where the performance bottle-necks are? From our work with other customers, we've seen examples where application assumptions have led to "performance degradation" and when you remove those assumptions, the performance improvements are "noticable" - like how many queries get executed when you startup? Are all those needed? Could the queries be optimized? How many controls come up? Are they all visible and bound? Could they be lazily rendered/bound? etc.
    Yes, we do not have a suggested document yet, as JClient is still pretty new and customers are working on real-life apps which we've studied over time and are gathering "inputs" for best - practices kind of an article/example.
    2. We have found out that the navigation binding on the comboboxes are about 10 - 15 times as slow as a LOV binding, but we are having problems using the LOV binding. The comboboxes work in a master - detail relationship, and we have that working with a view link and navigation binding. But we would like to use the faster LOV binding. Is it possible to use a LOV binding in a master - detail relationship? In JDev 902, LOV Binding was "fetching" all the data for LOV Bindings upfront, so if your data set is small it'd perform well, however in most realtime customer apps that we saw, we found this to be a problem as LOVs would take time to come up the first time. That's been fixed in 903. Now Lovs and Navigation bindings both respect the fetch sizes and other tuning parameters set on the Bc4J ViewObject. So you can tune the fetchsize/rangesize on the VO in the Bc4J object to control how much data is fetched upfront for a given binding. that will definitely affect performance and memory usage as based on a case by case basis, apps would determine what/how many rows should be fetched upfront vs. how many to fetch on scroll/navigation etc.
    3. Why are navigation bindings so slow compared to LOV bindings?see 2 above.
    4. What are you general plans with JClient?See the JClient docs on OTN (jdeveloper page) for general information.
    If you have specific needs/questions we could sure get you answers for those.
    5. Could you possible refer to another project or currently running program that is build using JClient. We feel that we are a little alone on this issue. Is JClient only running on samples, or has it shown it's effeciency in real life.Again JDeveloper home page has referenceslinks that indicate which customers have used what kind of applications. Note that JClient was released for the first time in JDev 9.0.2 so it's still going thru the first round of performance and usability improvements.
    6. It is running whitout problems in the samples and when we use the wizards to generate simple forms. But when we construct a complex GUI-structure we quickly run into performance problems. But also unexpected problems that we have difficulty solving, due to lack of documentation and knowledge.This forum on OTN has a great amount of discussion on JClient issues and how to resolve various performance and other bugs in Jdev 902.
    I agree on lack of complete documentation and examples and we're working towards that. Note that we did put up a Jclient Bindings demo which is a good example of how to "architect" a medium complexity application, how to layout controls, bind them, show/hide etc. An improved version of this example will be placed on OTN alongwith a version of JDev 903 when it is made available on OTN.
    We would really appreciate, if you would take the time to answer our questions.
    A frustated development team. And your critique/bugs/feature ideas are always welcome.

Maybe you are looking for

  • Unrecognized DVD/CD drive after I-tunes upgrade to ver 7.6.2.9

    I have a problem since I upgraded I-tunes to latest version 7.6.2.9. My PC no longer recognizes my DVD/CD Rom. I have deleted my Upper and Lower filters in the registry, then reboot my CD-Rom is back. I open I-tunes and the program does not see my CD

  • How to watch star cricket on Apple TV?

    Title says the question?

  • Texting...feel dumb asking, but how do I text with my Palm Pre?

    Sorry my first post on this great forum has to be such a newbie one, but no one in this area at the various Verizon offices know anything at all about the Palm Pre. All Blackberry brain-washed it seems. Anyway, I can't seem to find simple steps to te

  • Forms Runtime stack dump - MSVCRT.dll

    I'm having trouble with a Forms 5.0 app that I'm bringing up to Forms 6i. Whenever I try to run the form, I get a stack dump. I searched METALINK and found lots of people complaining of the same or similar problem, all in forum threads that have sinc

  • Using a 32-bit JRE on a 64-bit platform

    What is the Sun stance on the use of one of their 32-bit JREs on a 64-bit chipsets. For instance, I know that the 32-bit JVM for Solaris will work with 64-bit Solaris, but does Sun SUPPORT it. Thanks, T. Harris