What is the best methodology to build modular applications?

Hello,
I am working on a project that uses database access quite heavily.
Now, as I am a beginner, I wanted to go a very modular approach by building one module at the time and then assemble it in the overall application.
I tried to use <SWFLoader> to do this assembly work. I have a top level file where I load teh module when needed and render them visible (or invisible) which worked nicely.
Now, with some recent problems with release builds and putting the finished application from the localhost  to the real URL, I am not so sure that this is the best.
The alternative would be of course to do a single project and work with states, but this will make the project more difficult to oversee (maybe I miss something)
Can somebody suggest something and hint where the best resources (tutorials, book, demo applications...) for my problem can be found.
Many thanks
peter

If I were just starting out I would forego using modules at all.  Chances are your application isn't going to be big enough to warrant the usage of modules.  Other problems such as architectural ones will crop up long before it does get that big.

Similar Messages

  • What is the best FREE GUI Builder in Eclipse plugin??

    hello experts!!!
    nid ur help... does anyone here uses Eclipse editor?? i am using Jigloo Gui Builder plugin to create GUI
    BUT there GROUP layout manager it sucks its so diffucult to layout..
    what is the best FREE GUI Builder in Eclipse plugin??

    kagaw3000 wrote:
    i am not an english speaker and i am not an American citizen.And many others here are not primary or secondary English speakers either. How can you expect them to understand you if you use strange abbreviations? Programming is an exercise in precision. If you have a question here, you would do well to communicate it precisely.
    At the site [How to Ask Smart Questions|http://www.catb.org/~esr/faqs/smart-questions.html#writewell] :
    h1. Write in clear, grammatical, correctly-spelled language
    We've found by experience that people who are careless and sloppy writers are usually also careless and sloppy at thinking and coding (often enough to bet on, anyway). Answering questions for careless and sloppy thinkers is not rewarding; we'd rather spend our time elsewhere.
    So expressing your question clearly and well is important. If you can't be bothered to do that, we can't be bothered to pay attention. Spend the extra effort to polish your language. It doesn't have to be stiff or formal � in fact, hacker culture values informal, slangy and humorous language used with precision. But it has to be precise; there has to be some indication that you're thinking and paying attention.
    Spell, punctuate, and capitalize correctly. Don't confuse �its� with �it's�, �loose� with �lose�, or �discrete� with �discreet�. Don't TYPE IN ALL CAPS; this is read as shouting and considered rude. (All-smalls is only slightly less annoying, as it's difficult to read. Alan Cox can get away with it, but you can't.)
    More generally, if you write like a semi-literate boob you will very likely be ignored. So don't use instant-messaging shortcuts. Spelling "you" as "u" makes you look like a semi-literate boob to save two entire keystrokes. Worse: writing like a l33t script kiddie hax0r is the absolute kiss of death and guarantees you will receive nothing but stony silence (or, at best, a heaping helping of scorn and sarcasm) in return.
    If you are asking questions in a forum that does not use your native language, you will get a limited amount of slack for spelling and grammar errors � but no extra slack at all for laziness (and yes, we can usually spot that difference). Also, unless you know what your respondent's languages are, write in English. Busy hackers tend to simply flush questions in languages they don't understand, and English is the working language of the Internet. By writing in English you minimize your chances that your question will be discarded unread.
    the main issue here is my questionMy recommendation: learn to do Swing without a code-generator. You gain a much better understanding of the underpinnings of Swing, the layout managers, and you gain extremely good control of component placement.

  • What is the best way to build an app?

    what is the best way to build an app?

    I've never done it, but sure, all sorts of companies will contract to code up an application for you - big companies like Honeywell and General Dynamics to Joe Programmer free-lancing out of his house will contract for computer coding projects.  Without knowing details of the app to be developed I have no idea what it would cost or how long it would take.  Some of the free-lance programmers I personally know bill out at over (some, well over) $100/hour.
    If you really think your idea is great, then be sure to approach discussing it with a developer as a business transaction.  Almost every company will have an unsolicted ideas policy in place (Apple explicitly does under their legal information page) and any unsolicited ideas sent in become the intellectual property of the company (by sending the idea unsolicited, you have legally "given" it to them).
    P.S. as to how long to learn how to program well?  Some people spend an entire college degree's worth of time and effort to master that.

  • What is the best way to port complete applications from DEV - Test - PRD?

    Hi,
    One of my customers recently asked me, Supposing I do the complete integrations and modelling in SOA Suite on the DEV Environment. Then,
    What is the best way to port complete applications from DEV -> Test -> PROD ??
    Also, since the URLs in use in the DEV environment would be very different from other environments, what is the easiest way to maintain them, and to build in Access Control mechanisms ?
    Best Regards

    Hi AJ,
    Nice PDF !
    Though the PDF does give a basic idea as to how we can go about the deployments using ANT and EM in Test and Prod, it doesn't really give extensive details. For eg. ANT would obviously need huge ANT scripts to be written for migrations to multiple Test servers, etc.
    Similarly, when we talk about EM, does it mean each of the services has to be manually deployed on Production ?
    I am sure we would be looking more towards a fully automated solution. No ?
    Best Regards
    Nitin

  • What is the best way to port complete applications from DEV - Test - PROD

    Hi,
    One of my customers recently asked me, Supposing I do the complete integrations and modelling in SOA Suite on the DEV Environment. Then,
    What is the best way to port complete applications from DEV -> Test -> PROD ??
    Also, since the URLs in use in the DEV environment would be very different from other environments, what is the easiest way to maintain them, and to build in Access Control mechanisms ?
    Best Regards

    It has been discussed here in detail-
    SOA 11g  Composite Deployment across multiple Instances: Best Practice
    since the URLs in use in the DEV environment would be very different from other environments, what is the easiest way to maintain them, and to build in Access Control mechanisms ?You may use deployment plan for this purpose. For access control, you may use Role Based access of Weblogic and EM. Please refer -
    http://download.oracle.com/docs/cd/E17904_01/integration.1111/e10226/appx_roles_privs.htm#BABIHDFJ
    Regards,
    Anuj

  • What is the best data type for wallet application?

    Hi Friends..
    I want to know what is the best data type for wallet application..
    Assume that, i want to the Total of money saved digitally in Applet Wallet..
    And then if there's any transaction the Total of money which saved digitally in Applet Wallet would be Subtracted or Added depends on how much money that spent or saved..
    Which one is the best implementation of these scenarios :
    1. I save the User ID and Total of money in the Java Card, and then if there's any transactions, it would be added or subtracted directly and then saved again in the Java Card
    2. Or.. I save the User ID in the Java Card whereas Total of money in the Database, and then if there's any transactions, the ID would be read from the Card, and then select the Database based on that ID, and then Add or Subtract the money depends on how much money spent in the Transaction
    Please help me regarding this
    Thanks in advance

    Hi,
    Personally I would choose to store the total amount stored on the card. You could use two shorts (short[] perhaps) to store an integer (add more shorts to increase precision) and simply handle overflow your self. You could even look into using a third party library (or class) that treats a byte array as a big integer etc. There were some posts recently on floating point arithmetic that could be helpful for you since you will probably want to use decimals and JC does not natively support floats.
    Cheers,
    Shane

  • What is the best way to build a news system?

    Hi everyone,
    I am building a website using webcenter and I need to do a section called "News". The Editor user is going to put on this section some news about the company.
    The doubt is: What is the best way to do is? There is a way to integrate the webcenter with Content Server and store the news as a content on it? Or the best thing to do is treat each news as a page (by using the task flow - Page create new)?
    Thanks
    Daniel

    Hi Daniel,
    I'm not shure if that is the best way, but we're using the Page Service Task Flow and scope.
    If you want to use Oracle Content Server(ucm) probably your user must create a doc(news) and upload it by using something like the Library Task Flow.
    Bye...

  • What is the best methodology to handle database schema changes after an application has been deployed?

    Hi,
    VS2013, SQL Server 2012 Express LocalDB, EF 6.0, VB, desktop application with an end user database
    What is a reliable method to follow when there is a schema change for an end user database used by a deployed application?  In other words, each end user has their own private data, but the database needs to be expanded for additional features, etc. 
    I list here the steps it seems I must consider.  If I've missed any, please also inform:
    (1) From the first time the application is installed, it should have already moved all downloaded database files to a separate known location, most likely some sub-folder in <user>\App Data.
    (2) When there's a schema change, the new database file(s) must also be moved into the location in item (1) above.
    (3) The application must check to see if the new database file(s) have been loaded, and if not, transfer the data from the old database file(s) to the new database file(s).
    (4) Then the application can operate using the new schema.
    This may seem basic, but for those of us who haven't done it, it seems pretty complicated.  Item (3) seems to be the operative issue for database schema changes.  Existing user data needs to be preserved, but using the new schema.  I'd like
    to understand the various ways it can be done, if there are specific tools created to handle this process, and which method is considered best practice.
    (1) Should we handle the transfer in a 'one-time use' application method, i.e. do it in application code.
    (2) Should we handle the transfer using some type of 'one-time use' SQL query.  If this is the best way, can you provide some guidance if there are different alternatives for how to perform this in SQL, and where to learn/see examples?
    (3) Some other method?
    Thanks.
    Best Regards,
    Alan

    Hi Uri,
    Thank you kindly for your response.  Also thanks to Kalman Toth for showing the right forum for such questions.
    To clarify the scenario, I did not mean to imply the end user 'owns' the schema.  I was trying to communicate that in my scenario, an end user will have loaded their own private data into the database file originally delivered with the application. 
    If the schema needs to be updated for new application features, the end user's data will of course need to be preserved during the application upgrade if that upgrade includes a database schema change.
    Although I listed step 3 as transferring the data, I should have made more clear I was trying to express my limited understanding of how this process "might work", since at the present time I am not an expert with this.  I suspected my thinking
    is limited and someone would correct me.
    This is basically the reason for my post; I am hoping an expert can point me to what I need to learn about to handle database schema changes when application upgrades are deployed.  For example, if an SQL script needs to be created and deployed
    then I need to learn how to do that.  What's the best practice, or most reliable/efficient way to make sure the end user's database is changed to the new schema after the upgraded application is deployed?  Correct me if I'm wrong on this,
    but updating the end user database will have to be handled totally within the deployment tool or the upgraded application when it first starts up.
    If it makes a difference, I'll be deploying application upgrades initially using Click Once from Visual Studio, and eventually I may also use Windows Installer or Wix.
    Again, thanks for your help.
    Best Regards,
    Alan

  • What is the best way to deploy an application ??

    Hi,
    Please advise me how to automate in a best way to Deploy 10 different applications(.ear/.war)
    to 10 different Clusters(containing 40 Managed servers) in wls6.1......and that
    too in a Production environment.
    I know that we can use weblogic Console to deploy an application BUT if i have
    2 unix boxes and each box contains 4-4 clusters(each containing 16-20 managed
    servers) .....then i have to open up 2 Admin server consoles to deploy each of
    the respective applications and that too deploying these application to 8 clusters.....OR
    i can use deploy commad to do the same.
    AND if i have like 100 clusters .....then i would have to "deploy" 100 times ......
    is there any way that we can BEST AUTOMATE this process.
    Thanks a lot.
    -sangita

    Thanks Tommy. but i would like to know a very important point here: this is using
    the weblogic.utility that you just talkd about.
    Suppose iam having an ADMIN server that has say 10 clusters and 50 managed servers
    underneath to take care.
    1 cluster each = 5 managed server
    now iam deploying a simple .war file to say a single managed server, i have found
    out that it takes a looot of time to get the application deployed.
    what do you say about this situation ?
    what is the best approach ??????
    -sangita
    "Tomy Mathew" <[email protected]> wrote:
    >
    >
    To deploy the application from the command prompt in WebLogic 6.1 you
    use the
    following command
    $JAVA_HOME/bin/java -cp $WL_HOME/weblogic.jar weblogic.deploy -port $WEBLOGIC_PORT
    -host $WL_HOST_IP $WEBLOGIC_CMD $WEBLOGIC_PWD -component $WL_Server_NAME:$WL_Server_NAME
    $WL_APPLICATION_NAME YourApplication.war
    $WEBLOGIC_CMD sould be DEPLOY for the first time deployment and UPDATE
    for redeployment
    For deploying in a cluster you better create a shell script which call
    the above
    command with different cluster ip address as a parameter.
    Tomy
    "sangita" <[email protected]> wrote:
    Thanks Rob for your expertise advise. I would check to see wls8.1's
    ANT tasks.....for
    wls6.1, i would guess shell scripts to be a better option for us.
    thanks again.
    Rob Woollen <[email protected]> wrote:
    If you're using 8.1, then it's pretty nice to use ant for
    configuration/deployment/starting and stopping servers etc. There's
    a
    wlconfig task to do configuration, wldeploy to deploy applications,
    wlserver to start/stop servers.
    For 6.1, it's probably not a huge win to use ant. It's up to you.
    If
    you're more comfortable using shell scripts, that's certainly a
    reasonable route.
    -- Rob
    sangita wrote:
    Thanks Rob.
    But all the stuff that ANT can do for me FOR DEPLOYMENT (ONLY) .....ican do it
    from a simple shell script too.
    And i understand of ANT's cross-platform environment and usage of
    JAVA
    .....but
    can i use ANT to do something like CONFIGURING my wls6.1 managed
    servers/clusters/creating
    managed servers/db connection pools ......and all the other configurationthat
    i do from wls console(or manually) ....????
    and if yes, do you know of any examples, suggestions, ideas ?????
    basically, if i need to sell(?) ANT to my juniors ......what are
    the
    basic reasoning
    i can put forward....keeping in mind that these guys use wls6.1 &
    wls8.1......and
    these guys do CONFIGURATION and DEPLOYMENT only.
    sorry for asking, may be these silly questions.
    thanks, sangita
    Rob Woollen <[email protected]> wrote:
    sangita wrote:
    Thanks Rob.
    Rob, do you still consider or suggest using ANT for deploying say
    20
    applications
    on a 10 clustered environment.Yes
    do you see any advantages using [ANT + weblogic.deploy]..... over
    simply
    using
    weblogic.deploy utility ???Yes. ANT essentially gives you a cross-platform environment that
    allows
    extensibility through java. It's very powerful.
    -- Rob
    -sangita
    Rob Woollen <[email protected]> wrote:
    sangita wrote:
    Rob,
    I have found the answer for my question #1 ...this is the URL:
    http://edocs.bea.com/wls/docs81/admin_ref/ant_tasks.html
    iam still hoping to hear back from you for #2, #3
    thanks a ton.
    "sangita" <[email protected]> wrote:
    Thanks Rob.
    quick question:
    1) do you know of any example which illustrates the use of ANT
    wrapper....or
    please
    direct me to a URL where i can find some documentation about
    it.
    2) does this ANT wrapper has any advantages over using weblogic.Deployer
    utility
    ??If you're doing deployment via ant, then it's a bit more convenientto
    use <wldeploy> rather than invoking a raw <java> process, but
    fundamentally it's just a wrapper around weblogic.Deployer
    3) i would certainly check to see weblogic.deploy for wls6.1
    ....can
    i use ANT
    for deployment purpose in wls6.1 ?You'll just need to wrap it in a <java> task
    See:
    http://ant.apache.org/manual/CoreTasks/java.html
    -- Rob
    Rob Woollen <[email protected]> wrote:
    If you were using WLS 7.0 or later, you could use weblogic.Deployer.
    If
    you were using 8.1, you could use wldeploy which is an ant task
    wrapper
    for weblogic.Deployer.
    In WLS 6.1, you'll have to use weblogic.deploy which is a bit
    cumbersome, but it's still certainly possible to script deployment.
    -- Rob
    sangita wrote:
    Hi,
    Please advise me how to automate in a best way to Deploy
    10
    different
    applications(.ear/.war)
    to 10 different Clusters(containing 40 Managed servers) in
    wls6.1......and
    that
    too in a Production environment.
    I know that we can use weblogic Console to deploy an application
    BUT
    if i have
    2 unix boxes and each box contains 4-4 clusters(each containing
    16-20
    managed
    servers) .....then i have to open up 2 Admin server consoles
    to
    deploy
    each of
    the respective applications and that too deploying these applicationto 8 clusters.....OR
    i can use deploy commad to do the same.
    AND if i have like 100 clusters .....then i would have to "deploy"100 times ......
    is there any way that we can BEST AUTOMATE this process.
    Thanks a lot.
    -sangita

  • What is the best way to build a career path where I can evolve into an SAP role instead of one that is Customer Service based?

    In October 2011, my previous employer converted to SAP, as the rest of the worldwide entities were already using SAP. At that time, I was an Order Coordinator, where my job role was to process all of the Inside/Outside Sales Representatives orders for the US. Because of my keen attention to detail, the speed in which I learn new roles and general IT knowledge, I was asked to be the SAP SuperUser for our Financial Operations team. I quickly began to learn the roles of Order-to-Cash, Customer Master Data, Pricing Conditions, Contracts, some Material Master Data, and even Customer/Material Pricing Audits. I also performed manual customer billing in SAP until the automatic modules were implemented. Knowledge of these roles created a need for me to become a trainer to my team, where the SAP Consultants left off. After only working in SAP for the few months after the conversion started, I evolved out of an Order Coordinator rights of access and was given a not-so-typical role as an "analyst". I had more than a firefighter role in SAP, as my normal log in credentials gave me full rights to all of these modules and even special reporting. Our parent global company realized necessity for my role and followed proper protocol to authorize the access changes to still meet the SOx regulations. Prior to using SAP, I never thought I'd fall in love with it and enjoy my job so much, but it happened! Despite my previous employer's less than perfect data that was copied into SAP, we managed to have an efficient ongoing process to clean it all up.  I became more of a liaison between Financial Operations and our IT Dept/SAP Consultants. I "translated" the technical steps that IT/SAP Consultants were trying to teach everyone and trained my Financial Operations team in a way they would understand. I truly enjoyed my job, even at our most difficult moments.
    However, after all of the fun I was having while working in SAP and truly gaining a ton of useful experience and knowledge, "life" happened and I had an opportunity to move from Atlanta, GA to southern California. I've searched for months to find a new career here in California with a company that I could continue my learning experiences and become more proficient in SAP, but I'm a little lost. My search to find jobs have only given me possibilities in Customer Service positions or ones that are SAP sales/programming based. I'm floating in limbo and looking for help from the SAP community on where I can go from here to get back into a career path with SAP.
    I'm 28 years old and I'm currently finishing my Associate degree in Business Administration. I'm a Microsoft Certified Professional (MCP), certified with the Help-Desk Institute as a Support Center Analyst, and also completed my previous employer's Quality Advocate Certification which focused on Six Sigma and Lean concepts. Prior to leaving the company, I was being considered for a company sponsored training in the Six Sigma Green or Black Belt program. I've recently started working a contract position as a Customer Service Rep, processing orders, but the company will be completing an SAP conversion in May 2013; so only a few months away. The problem I have in this position is that I feel frustrated in learning their current software when their entire team seems to have their own personal ways of doing their job. I prefer to have structure and perform job duties the right way, then building on that to make the job more streamlined. I spoke with my recruiter but he feels I may be a bit premature on feelings about working in this contract position. I may be just feeling a little impatient in having to wait another 3 months to see if the company may even hire me on permanently and what role I would have with SAP, beyond Customer Service Rep. I'm hoping to get some direction from the SAP community on where I might focus my attention in learning SAP. My hope is to find a position working with SAP like the one I enjoyed so much back in GA. I'm even considering options to learn the programming side. I think SAP is a great software package once people understand how it's designed, or can be designed, to work.
    Please help!!
    I'd be happy to provide my resume to anyone willing to review it and give me some pointers. Any advice would be greatly appreciated!

    I appreciate the length and detail of your post. I struggle answering questions from folks who give too little info. It's refreshing to have too much info for a change.
    I'll summarize your post and give suggestions:
    You have very strong end user experience, almost bordering on support level SD knowledge. You have experience with the way that at least one company implemented SAP SD but don't have many years of experience with different approaches, so you can't pitch yourself as someone who's "been-there, done-that" outside of the SD world and you can't bill yourself as having SD functional knowledge to the extend that you could be a consultant for SAP SD.  (See FAQ: Different Career Paths in SAP for descriptions of different traditional SAP career paths.)
    You've moved to Southern California, which is chock full of companies using SAP, by the way, and you're having a hard time finding the right job. Your education is probably going to be problematic at this point. Most SAP related jobs require a Bachelor's Degree at a minimum. Definitely keep on going with your degree. I don't know where you're doing your associate's degree, but you might want to look in to Cal State Fullerton, which has an *excellent* SAP focused business degree program. (http://business.fullerton.edu/).
    You've found work at a company but had to start over at a lower level of responsibility. Since the job you just landed will be transitioning to SAP in 3 months, you have an opportunity to repeat your previous rise by volunteering to be a super-user again. Alternatively, you could talk to the group within your company and express your desire to help out supporting the system from the back end. Traditionally, companies lose a few folks immediately following an implementation, so there's a good chance that if you make your desires and skills known, that you'll be able to move onto the support team once a position opens up.
    All of the above assumes that you want to continue on the functional side of SD. You didn't mention any aptitude or preference for programming. It is certainly easier to get programming jobs than functional jobs (see How did you get your start in SAP?), but it seems like you really enjoyed the functional side of SAP. I do *not* recommend learning an SAP skill for which you have no desire simply to get a job, hoping that you can switch later. Use the skills you have to get the job you really want, doing something that really excites you. It's far to easy to fall into a job simply because it's there and get trapped and burned out.
    Hope this helps!
    Best regards,
      --Tom

  • What are the best specs when building a PC for video & where to buy in US?

    Our current video machine has died - a problem we have constantly battled over the years with our video machines, primarily from the heat generated in the system. These have been spacious, well spec'd out desktops, so while I'm budget concious I thought I'd reach out for advice before going ahead. The biggest problems occur when  rendering video, esp. larger files.
    Also, I'm visiting the US for a few weeks, so that opens up some new possibilities (it's common to see much better pricing for systems in Canada than the US.)
    So my questions are two-fold.
    1) What would you recommend for buying a PC video machine today, while still on a budget? I would normally look for a higher end i7 processor, 16 Gb DDR3 ram, dedicated video card, ASUS motherboard with raid 0/5 and a couple of decent sized harddrives (not striped... had terrible experiences with my striped drives in the past). In particular, what would you recommend on the video card front for the best value/performance while not creating issues with heat (this is where I've had problems with a number of machines in the past)? In terms of harddrive management, are there some better options now for handling real time editing and rendering? (I would like to connect the 2 harddrives from the machine that has failed to the new machine.)
    2) I'm in Ft. Myers, FL for the next couple of weeks... what are some good options for either having a machine built or getting the parts to build myself? (I don't need an OS, but will install Win 7 Pro myself.) Normally I'd look to TigerDirect or CanadaComputers for a new system.
    My main use for the machine will be Premiere/After Effects, with some Photoshop/Illustrator.
    Any other advice/input on how to optimize the machine so that I don't have HDD issues and other isssues from overheating would be appreciated. Please keep in mind, I'm on a budget (which means I'd ideally like to spend between $800-$1300). :-)
    Thanks!
    Julie

    Build a Desktop Video Editing PC
    -3 price level ideas in http://www.pacifier.com/~jtsmith/ADOBE.HTM
    -what PC to build http://forums.adobe.com/thread/947698
    -2 how to build videos http://forums.adobe.com/thread/1104182
    -another video http://forums.adobe.com/thread/1145366
    -planning & Building http://ppbm7.com/index.php/intro-part-1
    -memory for LGA2011 http://forums.adobe.com/thread/1098759
    -an Adobe FAQ http://forums.adobe.com/thread/878520
    -http://www.shawnlam.ca/2012/premiere-pro-cs6-video-editing-computer-build/
    -http://www.videoguys.com/Guide/E/Videoguys+DIY9+Its+Time+for+Sandy+Bridge+E/0xe9b142f408a2 b03ab88144a434e88de7.aspx
    -several more links http://forums.adobe.com/thread/815798
    -build tuning http://ppbm7.com/index.php/final-results

  • What is the best techology to build jsp databound pages?

    Hi all,
    I have to develop a simple web application that allow the end user to insert, update and query data on tables. there is very few logic to implement, what I need is a way to quicky create a web front end to some configuration tables.
    Once I started with bc4j data tags, but now after reading the help I understand that this technology is not recommended to start new applications.
    Can anyone point me to the best JDeveloper technolgy to quickly develop simple web appllications?
    Thanks in advance,
    Giovanni

    There is a lot of material on using ADF in the online help.
    There is the new JDeveloper 10g Handbook that's just come out:
    http://www.amazon.com/exec/obidos/ASIN/0072255838
    There is a lot of good technical information in two meaty whitepapers that I've written:
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/ADFBindingPrimer/index.html
    http://www.oracle.com/technology/products/jdev/collateral/papers/10g/adftoystore/readme.html
    And then there are lots of Tutorials, HowTo articles, and samples on OTN, available from the JDeveloper home page.
    Hope this helps.

  • What is the best way to exit an application?

    Hi
    In many examples I have seen an eventlistener used to exit an applicaiton when the user closes the window. However I recently came across the method:
    setDefaultCloseOperation(EXIT_ON_CLOSE)
    Is this a better way to close an application? What are the pros and cons of each way and what is the most widely used in the industry.
    Thanks

    If you dont have anything special to do other than exit, this method would be ok. but if you want to save some properties before exit.. or want to ask user to save before closing or some other confirmation messages, closing network, database connections, etc etc, then you have to use event listener.

  • What is the best way to build DC

    Hello Friends,
    This is a question for discussion.
    There are 2 ways we can build and deploy DCs.
    I. According to SAP documentation DC build
             1.Switch to the Java DC Explorer view.
             2.In the context menu of your DC, choose Development Component  ®  Build...
             3.In the dialog that appears, select your project node.
             4.Choose OK.
    II. Deploy new archive and run. Which is also in SAP Documentation for building a project.
    Search for "[Building, Deploying, and Running the Project|http://help.sap.com/saphelp_nw70/helpdata/EN/f1/91fb3fc781ef28e10000000a1550b0/frameset.htm]" in SAP help.
    Is there any specific draw back in second method? if yes do we have any supporting documentation from SAP.
    Thanks
    Shobhan

    H Shoban,
    I am not sure if there is any document on this. But following is my observation on this on both the options of building and deploying WebDynpro  projects.
    Option 1: As far as I know this option is provided when you have DC project. This approach includes  dependent objects and other dependent DC given in DC metadata during build.
    Advantage: Consistent result and most of the time error are cleared which are introduced due to incorrect and inconsistent public parts dependency(DC Metadata).
    Issue: Might take more time/resource as it needs to check and consider all the public parts from dependent DC's (This can be clearly seen in cases where there and many DC dependency)
    Option 2: This approach is based on building dynpro  eclipse project. It does not takes into account DC meta data. It starts with an assumption dependent object (jars and project reference) are in place ( this is were it could be issue)
    Advantage: Might be fast as it does not consider DC metadata.
    Issue: Inconsistency in DC metadata and dependency are not detected.
    Summary: Difference is because of compilation of DC metadata. if you are modifying single DC and dependency are simple then option 2 can be used. but when multiple project are modified simultaneously which have interdependency, then option 1 is to be used to get consistent results.

  • What's the best way to build myself a custom arch installation cd ?

    it should have xorg, window manager and some other programs that i use . Coould it also be both live cd and install cd or just an install cd. Also is it possible to make it installable in the easiest possible way even by say windows user by doing next, next...? That degree of customization i need. Is it possible?

    Perhaps download CTKArchlive which is arch-based, uses openbox, pacmanfm...customize to your liking.
    It is ~500mb of download and can be cd or flash.
    It is normally in French but english is provided in the latest 0.6 versions i686 or 64 bit.
    Easy to try out and can be modified at your leisure with addons.
    Includes copy to ram and persistent home features.
    A fine "live" system...
    I have added feh mirage,kdenlive, vlc and hp printer to my 64bit CTKArchlive system.
    It is fast...mine loads to ram in 23 seconds.  Normal boot is 13 seconds.
    Give it a go............

Maybe you are looking for