Droplet or Simple Nucleus component which is better ?

Hi,
1)Droplet or Simple Nucleus Component which is better as per memory utilization (performence wise).
2)extending one  Droplet in another droplet is recomended or injecting droplet which is recomended ?
Please clear these issues if any body ASAP.
thanks

Hi,
Droplets are intended to connect front end (jsps) with the business functionality thro nucleus components. They are primarily used for presentation logic which involves business rules.
So, you need to decide to go for a mere nucleus component or droplet based on your requirement.
It is good to have any business logic / common code in a tools class and call that method from the droplet. In this case, you do not need to extend other droplet and can reuse the code from the tools class by injecting the tools component.
Please let me know if this helps. Or else, please specify the requirements more specifically.
Hope this helps.
Keep posting the updates.
Thanks,
Gopinath Ramasamy

Similar Messages

  • Which is better for servers, Apache or Tomcat?

    Which is better for servers, Apache or Tomcat?

    For some reason that link I gave you isn't working right now, but it was today, weird. I would get Tomcat simple because sun uses it in its examples and recommends it. Here's sun's link then, it's probably more useful anyway. http://java.sun.com/products/jsp/

  • Which is better sockets/socketchannel why

    which is better java.io.Socket / java.nio.channel.SocketChannel

    Better for what? They both work. Sockets are simple but only support blocking operations. SocketChannels are about ten times as complex to use but they support non-blocking and multiplexed I/O and also various types of direct and mapped buffering so they can also imply less data movement.

  • Template or Stationery?  Which is better to use for building pages?

    I'm going to start building my tier 2 and tier 3 pages, and want the nav bar on every page to update with the new tier 2 pages that I add.
    Will a template or stationery page update the nav bar? The content will change on each page, but as I add the tier 2 pages, those will become part of the navigation bar throughout the site. How do I do this, or maybe the better question is...which should I use, a template or stationery?
    I'm using GoLive 6.
    Thanks,
    Kirstyn Sierra

    NAVIGATION AS A COMPONENT:
    Basically, you build your navigation into a separate file that only has the navigation links and save it as a Component. Then, in your site pages, you drop in the Component into the page where needed. Later, if you add a page, you add the link to your Component, which then goes through all the pages you dropped the Component into and updates them to match what you just saved. You then re-upload all your modified files so the copy online matches.
    SITE TEMPLATE:
    You build the entire page design template structure, putting everything where you want. You define "editable" regions in the template for the content that changes with every page (the main body content - basically everything except the basic structure and navigation) and save it into GoLive's Templates folder. You make new pages based on the template, and everything's locked except the part(s) that change on every page. You add the page-specific content to the editable region and save. Later, if you make a change on the master Template file, those changes are copied by GoLive into any page based on that template, but it ignores the "editable" regions so as not to override the page-specific content.
    Either way you go, you'd need to read the manual for your version of GoLive for the specifics on how to set up Templates or Components (and post back here if you run into questions). I don't have a copy of GoLive 6 installed, so can't spout the details off the top of my head :-)

  • Coding Preference ..Which is better for memory?

    Hey all,
    Javas garbage collection is sweet. However, I was reading somewhere that setting some objects to null after I'm done with them will actually help.
    (help what .. I'm not sure.. my guess is memory used by the JVM)
    Thus I have two ways to do the same thing and I'd like to hear peoples comments on which is "better" ... or will yield faster performance.
    Task: I have a Vector of Strings (called paths) that hold absolute file paths. (Don't ask why I didn't use a String[]) I'd like to check and see if they exist, and if not, create them... I'll use the createNewFile() method for that.
    Method A -- Here I'll reuse that File object
    public void myMethod()throws Exception{
    File file = null;
    for(int i = 0; i < paths.size(); i++){
      file = new File(paths.get(i).toString());
      boolean made  = file.createNewFile();
      if(made){doSomething();}
    file = null;
    }Method B -- Here I'll use um... "dynamically made" ones that I won't eventually be set back to null
    public void myMethod()throws Exception{
    for(int i = 0; i < paths.size(); i++){
      boolean made  = (new File(paths.get(i).toString())).createNewFile();
      if(made){doSomething();}
    }So when the code eventually exists myMethod, the object "file" will be out of scope and trashed.... correct? If thats the case, then would there be any other differences between the two implementations?
    Thanks

    There's no real difference between the two. Choose the style you prefer,
    although in the first one I'd lose the "file = null" statement since that
    variable is about to disappear, and I'm move the definition into the loop
    -- always give variables as small a scope as possible, mainly to
    keep the logic simple:
    public void myMethod()throws Exception{
        for(int i = 0; i < paths.size(); i++){
            File file= new File(paths.get(i).toString());
            boolean made  = file.createNewFile();
             if(made){doSomething();}
    }

  • Open GL Vs Quartz - Which is better for 2D game development?

    Hi,
    I am new to iphone game development. I want to create 2D game. Simple game with objects moving around.
    I never used Open GL as well as Quartz. For this game I am planing to study that.
    I want to know which is better from OpenGL or Quartz?
    And where I can learn more on that?
    Thanks,
    Ganesh Pisal

    I would recommend against OpenGL for a 2D game. Quartz does a lot of work to avoid updating parts of the screen that haven't changed, something OpenGL doesn't do. The iPhone's implementation of OpenGL has other serious performance issues.

  • Advice Needed... which is better?

    Hello...  I am not a computer 'genius", but not a complete "computer idiot' either.  I have a question, and then I will give my reasoning, because maybe it matters in the decision.
    Which is better, a PC (Gateway) with 6GB Ram, i5 processor, 1.5TB HD  or an Imac 4GB Ram, i3 processor, 1TB HD??
    Basically, I have had a Dell 2GB Ram desktop for 7 years, which suited me fine. I ran CS3 on it with no problems.  I recently had a virus, and had to swipe my computer, and when I re-installed Adobe, my Premiere Pro will no longer allow me to edit properly (audio plays fine, while video lags and skips around during viewing).  I know it is time to get a new computer either way, and a few friends have told me that I really shouldnt be running Premiere Pro on 2GB of ram, and suggested at least 6GB.
    I found a Gateway for $650 on bestbuy site with the above specs... but then someone I know, told me I would be better with an Imac with the specs above.  Is that possible that a 4GB mac would run better than the 6GB PC?
    also..  will CS3 work on the Windows 7 PC, but if I get Mac system I will be using CS5.
    I use Photoshop, and Premier Pro for simple music video editing (5-6min videos).  I do not do anything major..but want to at least be able to view what I am doing.
    thanks

    While I don't agree that Macs are as inferior as some here claim, for your purposes an i5 iMac is certainly inadequate. The i7 quad core iMac is something else again; it can take up to 16GB of RAM, which is plenty for most applications. The particular i7 CPU in the iMac is also quite capable with a number of performance enhancing technologies on board. The big problem with the iMac, though, is that it comes with only one internal HDD; there is an added SSD option, but in my opinion it's still too expensive. For video you should have at least two internal drives and preferable three or four, as others here have said. External drives are generally slower, even if you use a FireWire 800 port. Sometime this year Apple may add a Thunderbolt port to the iMac, as they have to the MacBook Pro. This will be a game changer for external media, with unheard of flexibility in connectivity and the performance of Fiber Chanel at an affordable price. There are already external RAIDs coming to market with Thunderbolt connections. However, there is no date certain for such an iMac refresh.
    For even semi-serious video you need some heavy iron, whether Mac or PC. There are some great Mac Pros available now with up to 12 cores on two 6 core Intel Westmere processors; however, even though I am a Mac fan, I'm sure you can build or get a BTO Windows PC with comparable specs for less. I suggest a minimum of four modern CPU cores to handle multi-threading and multi-tasking chores. At least two fast internal hard drives, four is preferable. And, of course, the more RAM the better, though this too will raise the price. You may not get the maximum RAM right away; the important thing is that the motherboard be able to support substantial RAM upgrades so that you can grow into it.
    The challenge, even with PCs, is that a number of core technologies are changing right now. SixGb/s hard drives are becoming available but it would take a high-end and relatively new motherboard to support them properly. So, besides the question of which computer to get, you have to consider when to get it. If you need it right now, that narrows your choices somewhat because you cannot wait for these new technologies to come on line.
    The most important thing to consider, though, is not to cheap out. Presumably you will be doing some real work on it, so think of this computer as an investment in your own future. Buy the most computer you can afford and a little bit more. Oh, and there is a new Version of Final Cut Pro coming out soon that will be Intel only and 64 bit capable, so Apple is moving ahead on this front, too. Remember, not all of Adobe's CS apps are 64 bit yet either. It's just one more technology in transition.
    One point I will concede, however, is that Windows has better video drivers than OS X. Even on a Mac, running Windows in Boot Camp delivers better video frame rates than the Mac versions of the same apps running in OS X. So, for reasons of cost and better video support, a Windows PC is probably the way to go. PCs also have it over Macs in the number of options available. If you are not a techie yourself, I agree as well that it is probably a good idea to have someone who is built it custom for you. Of course, with a custom PC you won't get the kind of warrantee that comes from Dell or Apple, but the person who builds it for you will probably be able to service it as well.
    Ultimately, of course, your budget is likely to govern the kind of PC you get more than your preferred specs. But even with Windows PCs you get what you pay for. A cheap PC is just that, a cheap PC. Inexpensive PCs are affordable because they use inferior components. Keep that in mind.

  • Which is better the 1st g or 2nd generation ipod touch

    I like to know which is better and last longer and wont have much issues
    A. 1st g ipod touch
    or
    B. 2nd genertion ipof touch
    I like to know I dont know which one I want, and I like to hear it from a person who know what there talking about and who knows alot about ipod touch
    reply back real soon
    I need to know

    Hello,
    It really depends on your own wants/needs. When the price of the refurbished touch dropped down to $199, I went ahead and purchased it, and so far, I don't regret it or want the 2nd generation (which I have seen and played with).
    The main differences with the 2nd generation include a built-in Nike+ receiver (Nike+ is pretty much an iPod-integrated pedometer that works with just the Nano so far), external volume controls, and an internal speaker for "casual listening" (meaning that it doesn't really have that great of volume/audio quality, but the headphones are just as good as any other iPod).
    I don't think at this stage we can determine which will have a longer, overall life expectancy. After all, the 2nd generations have only been around since the 9th of this month, and the 1st generations are roughly a year old at this point. Not really a fair comparison.
    Regarding issues you might experience... several users on this forum have reported Wi Fi issues with the 2nd generation, but, keep in mind that this is generally a support forum, so most of what you see on here will be issues looking for resolution. I haven't had any issues with the 1st generation that I haven't been able to solve by a simple reset.
    Hope this is helpful
    CG

  • Which is better for phone protection?

    Simple question, just looking for some advice from current owners of this phone.  I will be getting this phone within a few weeks and am planning on buying something so I have it for when I get the phone.
    Which is better: a flip case with no screen protector, or a standard case with one?  I don't want to get the screen scratched (it happened on my current phone despite the Gorilla Glass), and I tend to put the phone in my pocket with my keys.
    Also, are there any recommendations for a case/screen protector?  I haven't chosen a screen protector yet, but am looking.  Ideally, I'm looking for a screen protector that feels like there's not one on the screen, won't interfere with the stylus, and won't interfere with the quality of the screen.
    Here's what I'm currently looking at on both sides for a case:
    Flip Case (I looked at the official Samsung one but it doesn't appear to completely protect the phone.)
    Standard Case (Open to other suggestions but this one seemed to have the best combo of protection and price.)

    Some educational site are behind the times.  At times, they require software that isn't available on the ipad.  You should visit an apple store and try the educational site with the ipad.  Considering that you have an iMac, I'd lean in the direction of the iPad.
    Robert

  • Triggers or Programs, which is better?

    Hello,
    I have a simple question, say, I have 40Mil records to process or even higher and which is better, to have the functions in a program that reads the database or as a database triggers with functions?
    How good is Oracle to process 200Mil records or more?
    Thanks.
    -Nair

    I couldn't understand your problem. Anyway a trigger is attached to the table, so whenever you have an action updating a table the trigger automatically fires. On the other hand a program or function is an outer entity and must be loaded and run to make process whatever request/modification to your table.
    Oracle databse is capable of working with very large volumes of data. Refer to the manuls to get accurate info.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Unni Krishnan ([email protected]):
    Hello,
    I have a simple question, say, I have 40Mil records to process or even higher and which is better, to have the functions in a program that reads the database or as a database triggers with functions?
    How good is Oracle to process 200Mil records or more?
    Thanks.
    -Nair<HR></BLOCKQUOTE>
    null

  • TAXINN AND TAXINJ difference ? AND Which is better ?

    HI,
      Could u please explain  difference between TAXINN AND TAXINJ  ? AND Which is better ? And in which scenario they are used ?
    Regrds,
    Binayak

    TAXINJ & TAXINN are Tax Procedures in India. TAXINJ is old version & TAX INN is new version. Both has its own advantage & disadvantage.
    Upto 4.6C & partially 4.7 version of SAP, TAXINJ was used. TAXINJ is formula based calculation, in which we maintain the tax rate in Tax Code itself. The implication is that if say we are having product range such that say Excise rate differes for separate chapter ID, VAT, CST & permutation & combination of these, we require that many Tax Codes. For example:
    Tax Code: A1
    Taxes: 16% Excise Duty + 2% Education Cess + 12% VAT
    Tax Code: A2
    Taxes: 16% Excise Duty + 2% Education Cess + 8% VAT
    Tax Code: A3
    Taxes: 12% Excise Duty + 2% Education Cess + 12% VAT
    Tax Code: A3
    Taxes: 12% Excise Duty + 2% Education Cess + 8% VAT
    From 4.7 version onwards of SAP, TAXINN is being recommended & used. TAXINN is more user friendly & condition record based. In TAXINN, Tax Codes are statistical & of not much relevance, but are required to be maintained in condition record for taxes condition type. This makes Tax Codes simpler. The implication is that if say we are having product range such that say Excise rate differes for separate chapter ID, VAT, CST, we need not have the tax codes to that combination. For example:
    Tax Code: A1
    Can be used for any rate of excise duty, as tax code is only required to be maintained statistically in condition record.
    Tax Code: A2
    Can be used for any rate of VAT, as tax code is only required to be maintained statistically in condition record
    Regards,
    Rajesh Banka
    Reward points if helpful.

  • Simple image component question

    I have to fix a flash file someone else made, and I need to use an image component, which I'm not familiar with.
    I just need a simple image that scales up, and then moves across the screen. I've got my image component, and tweened it to scale and then move, and it looks fine when I scrub the timeline, but when I test as a swf it doesn't do anything, it just sits there.
    Am I missing something?

    If its working on while dragging the timeline during in authoring and not working while playing the complied swf can mostly mean that u have attached a top command somehwere in ur code which is stopping the timeline from moving forward on playing the swf.Check for unwanted stop commands.

  • Which is better to use: BEx query or Web Application as an iView in portal?

    Hi gurus!
    Are there any experienced opinions, which is better - publish a BEx query in portal or publish a BEx Web Application in portal? Is it easier to alter the layout attributes etc. if I create a BEx Web Application first before publishing?
    What is the way of fixing for example filter item height if I publish BEx query in portal - is there a Web Application that it uses anyhow which I can fix? Or can I use in that case iView -properties in portal?
    Thankful for advice
    Sari

    ok, means i can use jsp:useBean tag for all my
    classes that are not actually bean. so it will be
    instantiated at run time and provide efficiency .No. Jsp:useBean is used for java bean components.
    >
    but when should i use import statement in my jsp and
    it happen at translation time so will it create any
    type of burden for my code if i import multiple
    classes.For non-java beans, you need to import the classes, period.
    It's not a burden, it's a necessity.

  • Which is better for performance Azure SQL Database or SQL Server in Azure VM?

    Hi,
    We are building an ASP.NET app that will be running on Microsoft Cloud which I think is the new name for Windows Azure. We're expecting this app to have many simultaneous users and want to make sure that we provide excellent performance to end users.
    Here are our main concerns/desires:
    Performance is paramount. Fast response times are very very important
    We want to have as little to do with platform maintenance as possible e.g. managing OS or SQL Server updates, etc.
    We are trying to use "out-of-the-box" standard features.
    With that said, which option would give us the best possible database performance: a SQL Server instance running in a VM on Azure or SQL Server Database as a fully managed service?
    Thanks, Sam

    hello,
    SQL Database using shared resources on the Microsft data centre. Microsoft balance the resource usage of SQL Database so that no one application continuously dominates any resource.You can try the 
    Premium Preview
    for Windows Azure SQL Database which offers better performance by guaranteeing a fixed amount of dedicated resources for a database.
    If you using SQL Server instance running in a VM, you control the operating system and database configuration. And the
    performance of the database depends on many factors such as the size of a virtual machine, and the configuration of the data disks.
    Reference:
    Choosing between SQL Server in Windows Azure VM & Windows Azure SQL Database
    Regards,
    Fanny Liu
    If you have any feedback on our support, please click here. 
    Fanny Liu
    TechNet Community Support

  • Which is better??????

    which is better?Dam really confused which speaker to buy??
    i currently have a creative m2600.but am not getting enough performance or that feel while watching movies like avatar,step up 3 etc......so am planning to buy a 5.1.......not planning but i have decided to buy a 5.1....so..
    which is better? the 6160 or 6060 or 6100.
    which of these will provide me relly great exprience while playing games and most importantly while whatching hd movies and while listening to music.......
    and other than this what i have to ask is...what is this "db" in speakers. i mean while looking at a speaker specs we can see it..like 65db,85db,75db..etc........
    and when i compared specs of the three speakers i mentioned above i saw that the 6160 has low "db"........why is that?

    The specs is just a guide, you won't be able to tell the slight difference in db using just your ears. Besides, it is just a comparison between the level of a music to the level of background noise, it does not necessary mean which speaker sounds better. If possible, please make a trip to your local electronics store and try out the speakers system yourself.

Maybe you are looking for

  • How do I upgrade from a 3G iphone and an ipod touch to our new I4's?

    My wife and I have both upgraded phones to the I4. She had a 3G and this is my first iphone. With the upgrade in phones, we also upgraded our desktop to a new imac. Our old imac didn't meet system requirement for the I4 and it was time. We'd like to

  • Apex 4.0.1 classic report export

    Hello once again all you Application Express experts. I am having some difficulty getting an apex classic report to export the results of the report grid. This is a classic report being run, not interactive. It is also as an SQL Query (PL/SQL functio

  • Importing an ldif address book?

    Hello All, I am trying to see if 10.6 allows for importing .ldif address books. As far as I can tell this function has been removed. In 10.5 I was able to do this using the import function which gave a person the choice of ldif, vcard, text file, or

  • Can't delete images when importing from camera

    I use Nikon Transfer to import images from my digital cameras but now I can't delete the images from the card once transferred. I've also tried Image capture but Delte is greyed out. It seems like a Permissions thing but I'm not sure how to check. th

  • Screen exits for transaction KO01 (Create Internal Order)

    Hi Experts, I would like to enchane the screen of transaction KO01 by adding one new field. I am able to find the enchacement names (COOPA003) and I have already implemented it by creating project in CMOD. I have also added the new field in structure