Some question asked by interviewer to me

Please look at some questions and post your most valuable thoughts.
1). Can we create instance of interface or not if yes then how?
Answer by me: I gave wrong answer.
2). Java is comiled langauge or interpreted langauge if compiled langauge then which compiler.....?
Answer by me: Java is compiled and interpreted langauge and javac compiler and java interpreter is used.
3). Encapsulation and datahiding is same? if not so tell difference.
Answer by me: In case of Encapsulation only data which donot contribute its essential characteristics will be hiding and only data hiding means all data will be hide.Thats the difference b/w these two.
Interviewer also told me coding example of encapsulation. But I have not good example of that.
4).Difference b/w awt and swing?
Answer by me: Both awt and swing is used in applet but only difference b/w these two is- swing will give better look of label and buttons.
5).What is syncronization and why we use syncronization in multithreading?
Answer by me: Syncronization is used to prevent deadlock condition in multithreading.
I was not the correct answer of "what is syncronization?"
Please post your thoughts on any of 5 questions. I am also trying to findout answers.
thanks
Edited by: shobhit_onprob on Apr 18, 2009 5:05 AM

shobhit_onprob wrote:
Please look at some questions and post your most valuable thoughts.
1). Can we create instance of interface or not if yes then how?
Answer by me: I gave wrong answer.Instances of classes implementing an interface are considered instances of that interface ("is-a").
2). Java is comiled langauge or interpreted langauge if compiled langauge then which compiler.....?
Answer by me: Java is compiled and interpreted langauge and javac compiler and java interpreter is used.Java source code is compiled to byte code. That byte code can be executed in any way (the Java spec doesn't say how). It may be interpreted.
3). Encapsulation and datahiding is same? if not so tell difference.
Answer by me: In case of Encapsulation only data which donot contribute its essential characteristics will be hiding and only data hiding means all data will be hide.Thats the difference b/w these two.In my opinion Encapsulation is more than just data hiding. You can also encapsulate behaviour, for example.
4).Difference b/w awt and swing?
Answer by me: Both awt and swing is used in applet but only difference b/w these two is- swing will give better look of label and buttons.AWT is the "old" GUI toolkit that uses native controls of the environment it runs it.
Swing is the "new" GUI toolkit that draws its controls in pure Java code and uses AWT as the underlying base.
5).What is syncronization and why we use syncronization in multithreading?
Answer by me: Syncronization is used to prevent deadlock condition in multithreading.
I was not the correct answer of "what is syncronization?"No. synchronization can lead to deadlocks.
synchronization is used to ensure that data is only accessed when it is in a consistent state.

Similar Messages

  • I have some problem when I want to download app in iTunes some security question ask me about my visa when I right my visa number I got an errors and on top of the page told me go to iTunes support I do these things and now what should I do

    I have some problem when I want to download app in iTunes some security question ask me about my visa when I right my visa number I got an errors and on top of the page told me go to iTunes support I do these things and now what should I do

    Most of the people on these forums, including myself, are fellow users - you're not talking to iTunes Support here.
    You can contact iTunes Support via this link : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Hello , I want to ask some question about ipads \  How powerful is the iPad?  How useful is it for reading books, newspaper or magazines or for surfing the web? Can you identify any shortcomings of the device?   please help me :(

    Hello ,
    I want to ask some question about ipads \
    How powerful is the iPad? 
    How useful is it for reading books, newspaper or magazines or for surfing the web?
    Can you identify any shortcomings of the device?  
    please help me

    it's less powerful than your average computer. THink of it like a netbook but with a better processor.
    It'll do fine for surfing (although if you browse a lot of flash based sites you will need to get a third party browser since safari doesn't accommodate it)
    You may do OK on reading books, papers or magazines, especially if they have apps, but the ipad's screen is backlit, so it doesn't work well outdoors and you may need to fiddle with the brightness so that you don't get eye strain (it's just like doing too much reading from a computer screen)
    I would say the biggest short comings are data transfer. Apple's preferred work flow is that everything is done via iTunes or the internet....well people dont' always have 100% reliable always on internet access so you can find yourself in a situation where you can't get things on/off the iPad.
    By and large, it's a good device for day to day stuff, but is not a computer replacement.

  • I want to buy some music and It is asking some question that I do not have any idea the answer

    When I am trying to buy some music iTunes is asking me about some questions that I do not have any idea....

    Hello Brandy,
    Unfortunately, you can't change or etrieve them by yourself as you forgot the original ones. You may contact iTunes store support though. Here's what you can do:
    https://expresslane.apple.com/
    Follow these steps:
    All Products and Services > iTunes > iTunes Store > Account Management > iTunes Store account security
    Answer the questions and if required sign in with your Apple ID and password - same one you used to log in on this support forum.
    You will find an option to send an email to Apple on that page. Indicate that you forgot the answers to your security questions and wait for iTunes support to reply.
    I hope this helps.

  • When I try to buy something with my gift card they ask me some questions that I do not know which is the answerd

    when I try to buy something with my gift card they ask me some questions that I do not know which is the answerd!!

    Arlenefromtn wrote:
    I need help on this.I don't know these questions ...
    See Here.  Apple ID: Contacting Apple for help with Apple ID account security
    Ask to speak with the Account Security Team...
    Or Email Here  >  Apple  Support  iTunes Store  Contact

  • HT5312 I did all the steps, but my problem is that they are asking me some questions that I did not select when I created my Apple ID, so I clicked where it said reset security questions info... and then when I went to my email, they didn't sended me anyt

    I did all the steps, but my problem is that they are asking me some questions that I did not selected when I created my Apple ID, so I clicked where it said reset security quiestion info...... And then when I went and cheked my email, they did not send anything to me!
    This problem started 1 month ago!
    Ivana1728

    The email response is automated, and almost certainly is detected as "junk" or "spam". So, try again and check your spam folders for their reply.

  • Some questions with install paths and reporting

    I have some questions that i would like to ask
    The first is regarding the installation path of the silverlight client when it is published,  where is it located, is there a way to customize your application so that the user can specify an install directory , or a way to update the web.config with
    the install directory....
    Second question is , in development I am able to create a report, with report viewer using the localhost address of the silverlight client  server side. but when i publish it, the address is no longer found. Is there another way I can go about doing
    a report of the data in my sliverlight client application ? if so can i get some suggestions , I do know about some of the 3rd party extensions but none of them that I know of are free and I do not have the means right now to get them....
    this is all for a 2- tier Desktop silverlight client application.
    any help would be appreciated.
    Thanks
    David.

    I wanted to know if i can TELL lightswitch application to install when im running it after it being publised . or where it is installed to after first run of the application.....
    as far as Reporting goes and as far as I know DEVEXPRESS no longer supports lightswitch so there is no way for me to get ahold of the xtra reports extension ... please update your knowledge base and offer another solution..
    HI David,
    Thanks for your response.
    From your description above, I think this issue is related to your deployment procedure, you can also customize your deployment path. For this issue, I'd like to suggest you to check it again, you can refer to this article. See:
    Deploy a Two-tier LightSwitch Application
    If you want to use report extension in lightswitch application, you can learn relevant topics about report extension in Lightswitch forum.
    Hope it helps you.Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Some questions on versioning and synchronizing metadata

    Hy all!
    I am quite new to warehousing and Oracle Warehouse Builder, and so i would have some questions regarding on some common issues. I would appriciate if you guys would who have experience in this domain to share some good practice knowledge :)
    I am using OWB 10.2
    So first of all i would like to know if you have some proposal of the way of versioning control and synchronizing projects between team memebers when working on a bigger project, team memebers that don't work on the same repository (cause i saw that OWB has an integrated multiuser support for handeling object locks and user sessions).
    I saw that a way of migrating data from one place to a nother is using the import/export options integrated in OWB. This creates mdl files wich are some kind of "dumps" of the metadata informations, but the thing with these mdl files wich i don't think is a good way to synchronize is that first of all the .mdx and .xml files contained in the .mdl (wich is kind of a zip) contains many informations in it (like creation date, some timestamps, etc) wich are always updated when exporting, and if synchronizing these files maybee using CVS, we always will get differences between the files alltough they would contain the same thing, only timestamps changed.
    Then a nother issue with this, is that we could have 2 alternatives: dump the whole project, wich is odd to have to synchronize a single file between users, especialy on a big project, then the orher way would be doing for each object from the project (each mapping, each table, etc) an separate .mdl filem then to synchronize each file of each object, wich will be unefficient on reimporting each file in part.
    So please if you can share the way you work on a big project with many implementers with OWB, i would really appriciate.
    A nother thing i would like to know is: is there a way to generate from an existing project (like one created with OWB) the OMB commands dump (maybee in a tcl script)? Cause i saw that the way the exeprienced users implement warehousing is using TCL with OMB language. I downloaded the example from oracle for warehouse project, and i saw that is entirely made from tcl scripts (so no mdl file involved). And this i think would be nice, to have the OMB commands generated from an existing projects.
    I see this OWB projects like a database wich can be built up from only OMB commands and OWB a graphical tool to do this (same as constructing a database only from DDL commands or using SQL developer to do this), this is why i am asking about a way of dumping the OMB commands for creating an OWB project.
    Please give me some advices, and correct me if i sad some dumb things :D but i really am new to warehousing and i would really appriciate if you guys with experience could share some informations.
    Thank you verry much!
    Alex21

    Depends. Having everyone working on the same project certainly simplifies things a lot regarding merging and is generally my preference. But I also recognize that some projects are complex enough that people wind up stepping on each other's toes if this is the case. In those cases, though, I try to minimize the issue of merging changes by having common structural objects (code libraries, tables, views, etc) retained in a single, strictly controlled, central project schema and having the developer's personal work areas reference them by synonym, thus being unable to alter them to the detriment of others.
    If they want to change a common object then need to drop their synonym and make a local copy which they can alter, and then there is a managed process by which these get merged back into the main project schema.
    This way any changes MUST go through a central schema, we can put processes in place to notify all of the team of any impending changes, and can also script updates across the team.
    Every hour a script runs automatically that checks for dropped synonyms and notifies the project leader. It especially checks for two developers who have built local copies of the same object and notifies each that they need to coordinate with each other as they are risking a conflict. When a structural change is submitted back to the central shared schema, it is added to a batch that is installed at end of business and a list of those impending changes is circulated to the team along with impact analysis for dependencies. The install script updates the main schema, then also drops the local copy of the object in the developer's schema who made the change and re-establishes the synonym there to get back to status quo for the change monitoring. Finally, it then updates itself in all of the developer areas via OMBPlus. So, each morning the developers return to an updated and synched environment as far as the underlying structure.
    This takes care of merging structural issues, and the management of the team should minimize other metadata merging by managing the worklist of who is to be working on a given mapping or process flow at a given time. Anyone found to be doing extraneous changes to a mapping or process flow when it is not in their job queue without getting pre-approval will be spoken to VERY firmly as this is counter to policy. And yes, OWB objects such as mappings are then also coordinated to the central project via import/export. OMBplus scripts also propogate these changes daily across the team as well.
    Yep, there is a whole lot of scripting involved to get set up.... but it saves a ton of time merging things and solvinv conflicts down the road.
    Cheers,
    Mike

  • Some questions on filter

    Hi Experts,
    I have some questions on IP. I am comfortable working with BPS but I dont know how they work in IP.
    1) Suppose we take an example
    I have put filter on some char. say "Sales Region" from values A to D. and now I associate a planning function repost values (with filter) for only A "Sales Region" (So I keep only value A in fields for condition)
    So Question is will sales region B to D will be locked for write access for some other operation ??
    And in BPS there is no concept like locking on basis of filters put on Planning Level and Planning Package right ???
    Entire transactional cube is locked for any other user if some user is running a layout in a particular Planning Area even if filter conditions in Planning Level and Planning Package do not overlap in any other layout on same Info Area ?? m i correct ??
    Ask me if I am not clear in explaining.
    Good conceptual answers would be really appriciated.
    Thanks,
    Mihir

    Hi Mayank,
    Thank you for your answer. I tried and tested ur BPS answer regarding locking at planning package. It works well.Before I used to restrict at planning level.
    But once I restrict at package and hit "save all" as well as "save modal" and log off the system those filters get removed when I relogin and see the same package. Why is this so ???
    Would like to hear from you....
    Thank again,
    Mihir

  • Does anyone use a LaCie external hard drive with their Mac using imovie '09?  I have some questions.

    Does anyone use a LaCie external hard drive with their Mac using imovie '09?  I have some questions.

    Are you actually having a problem with the new Lacie drive, or are you just asking is the Lacie drive somehow different from your old G-Drive?
    From a connection standpoint, most Lacie desktop drives have both USB and FireWire connections, just like the G-Drives do.  You would connect and use it the same as a G-Drive.
    Regarding capturing to the external HD, if you are using a camcorder that has FireWire (iLink) connection, it is not advisable to have an external FireWire HD connected to your Mac at the same time as your camcorder; there are often communication conflicts between the camcorder and the hard drive if they are connected at the same time.  The conflicts usually appear as either dropped frames or a complete freeze.   This is more common with Canon miniDV camcorders but I have also seen this behavior with Sony miniDV camcorders.  (The problem is the camcorder's FW implementation, not the hard drive.)  The workaround is to capture to your Mac's internal HD and later copy the captured video to your external HD.

  • Some question for Sun Java System

    Dear all:
    I use Sun Java System We Server 7.0 for my project.
    But I have some question on SJSWS 7.0
    My server runtime information
    1. OS is RedHat Enterprise 3
    2. memory: 2G
    3. SJSWS version: 7.0 preview 3
    My questions
    Q1. The speed that download image is slower than the speed that run JSP page . The image's size to smaller than 5 KB. Is it possible to speed up download image
    Q2. My machine has 2GB memory, The system use swap area always. I think it isn't enough of SJSWS 7.0. How much memory size that SJSWS 7.0?
    Many thank for everybody

    first off, please try the Update 1 release in stead of technology preview releases: http://www.sun.com/download/products.xml?id=467713d6
    Q1> So I want to ask it is possible to display image and text at the same time like use Tomcat ?
    there is nothing in the server end (whether it's Tomcat or any other web server) that affects how the content is displayed on the browser.
    Q2>I detect The ram was used over 800M~1G by SJSWS7. My website has 80~150 user in workinghour
    Are you seeing Web Server process measuring so much memory?
    Q3> Is it possible that the admin server use SJSWS7U1 and some or all of node use SJSWS preview 3, because the server is running on line, I can't stop them for update server
    No - you want to switch to U1 anyway, since it's a released version (and is absolutely FREE for production use).

  • Potential new T61 user with some questions about product/su​pport/etc.

    Hi all!
    I've been using Dell Latitude's for last 7+ years and been happy with them thus far, as I was able to stay within the C-series thru 3 systems and reuse some components such as batteries, CD-ROM, etc. but now that I'd have to go to D-series, that gives me the choice of going to new vendor...and IBM/Lenovo was the only other choice due to my OS requirement: XP Pro!
    So now I'm here asking some questions that I'm still having issues with:
    (I'm comparing the T61 to Dell D530 and/or my C610)
    1) Features that I've used on existing Dell that I don't see on T61 :
        a) Infared port --- I've used to transfer stuff from one sys to another
        b) S-Video out --- I've used to display on TV for some situations  
        c) Serial port --- can't recall using it but with my luck, I'd need it sometime. 
        d) Parallel port (C610) --- for my really old printer used on rare occasions
        e) Floppy drive --- yes, I still use it for some unusual situations
    2) On Dell, I can put a 2nd battery or floppy drive in the media bay instead of CD/DVD...what about T61?
    3) Support:
        a) Dell forums have 7+ yrs of history and are well used...this forum seems brand new...was there another one before it?
        b) My Dell's have lifetime tech support (ok, so sometimes understanding the folks from India can be an issue) but IBM seems to limit this to life of warranty.
    4) Pricing: T61 would be seem to be, at minimum, about $150 more than similar Dell even with current "sales"...I'm having trouble justifying this...
    5) Things that I see that T61 has that new Dell D530 doesn't:
       a)  built-in mike --- my current Dell has it and I use it now and then so this is a plus!
       b) keyboard light --- nice feature, but couldn't I use a USB one instead if I really needed it?
       c) fingerprint reader --- never used one...how often do people use it?
       d) 2nd card slot for Express cards --- current Dell has two standard slots and I'm using both, though one is wi-fi which C610 didn't have built-in...and other is modem to replace failed built-in...D530 has only one slot, so having 2nd of any type is good.
       e) middle mouse button --- is that what I'm seeing? Or is it something else?
       f) recovery partition --- ok, nice but how much room does it take?
    6) Things that D530 has that T61 doesn't:
       a) 4th USB --- I'm used to only 1 now so even 3 would be big step up...
       b) 15" standard screen --- T61 is only a 14.1" screen and that extra bit of size would likely help, but I'm limited on physical dimensions to 13.5" total width (unusual situation) so a 15.4" wide screen isn't possible...I'm looking at SXGA+ in either case to maximize usage.
       c) recovery CD is standard --- so I'm presuming I'd have to create my own here?
    That, I think, about does it...so...any users willing to help me decide if a switch is good for me?
    Thanks!!!
    Update: It seems that phone tech support is only available for warranty period with IBM, whereas with Dell, I can still call for hardware tech help (to diagnose problem at least) for "lifetime" or well past paid period, as I've already done in past...comments?
    Update #2: Changed the incorrect "R"s to "T"! Duh!
    Message Edited by J_Hallgren on 12-28-2007 07:50 PM
    A current Dell Latitute user who was looking to maybe switch...But didn't.

    I finally made the switch to Lenovo and the Thinkpad line of notebooks and think this was the best move I have ever made in years! I've spent far too much money maintaining a separate notebook (Dell Latitude L400) several custom built desktops.  This December, I sold my desktops, my laptops (I had 2 L400's), and my 20" Aquous LCD TV to finance my Thinkpad T61.  It was well worth it!  I will try to answer your questions in this checklist, which I found to be quite similar to my own .... frighteningly exactly like my own....:
    Hardware Requirements
    IR: This is pretty outdated but functional.  I used to use a Palm with IR as well as an IR laser printer.  I ditched both for a PDA phone with bluetooth.  The laser printer is networked now
    S-Video: You might be able to get away with a TV tuner cardbus or a expres card.  There might also be external converters that convert from your VGA/DVI (DVI via port replicator) into any variety of video outputs.
    Serial: My older Palm had a serial port for the docking station - bluetooth is a good replacement
    Parallel port: I currently have a USB to parallel adapter in my bag just in case.  These are cheap cables and work well.
    Floppy: I keep a USB one of these just in case.  I find that having fewer input devices on my laptop and leaving them external help keep the machine lighter for my mostly mobile usage (e.g., my L400 with no inputs at all except 1 USB port).
    T61 Spare Battery: Uses ultrabay battery - I rarely use the DVDRW drive and leave the ultrabay battery in there while on the go.  DVDRW drive stays in the bag until needed.  I recommend you upgrade to the 9 cell battery with the advanced ultra bay battery, which will give u something like 9 to 12 hours of operating life.  If you are not a fan of the battery pack sticking out like crazy, stick to the letter box format laptop (not widescreen), which will provide the minimum amount of battery pack stick-out with the 9 cell battery.  The 6 cell will not stick out with the letterbox laptop but will stick out with the widescreen version.
    Support Options:  I rarely call support so I have no opinion here.
    Pricing: Price was not really a concern for me.  I purchased mine for the business look mainly, which Lenovo maintained well.  I don't like the shiny/plastic/toy look of Dell and Apple computers these days.  If anything, consider the premium an investment in the build quality of these machines (or a premium just for the good looks).  I particularly like the roll cage as well as active protection system that stops the hard drive as soon as the system detects excessive motion. 
    Included Hardware Comparison:
    I like the mic, use it often for Skype and the built in 1.3MP webcam as well. 
    Keyboard light.... kinda cute but not as functional because it simply is too small.  It was a cute idea that could have been made better had Lenovo opted for a backlit keyboard instead.  That would have been more functional and added to the "cool" factor. 
    With regards to the Express Card and PCMCIA card slot, I rarely use either because everything is built in.  However, if you want that TV tuner, an express card or PCMCIA card slot is good.  If you opt for the built in media reader, you will be unable to use the express card as the media reader takes up that slot (I might be wrong, but I think the card reader is large enough that it takes up both slots, so u can't add anything anyway - but you should call pre-sales to answer that question). 
    Middle mouse button: The three buttons in the middle are used for the trackpoint/joystick mouse controller.  I think the middle button is configurable to do various things.  I personally hate the joystick and can only use the touchpad.  The lack of a touchpad was the only reason I did not stick to the smaller 12.1" X line of laptops, which was really more in tune with my size requirements (too used to using the L400 sized machine).
    Recovery Partition: This is a cheap way for manufacturers to make it easy for people to recover their systems in case of crash - without the need for any documentation or disc media.  However, it makes it hard for people like me who only use machines after a clean format and customized install of Windows.  This partition is about 10GB and can be erased with special disk format or partition tools.  Windows itself cannot read or delete this partition.  With the minimum size of the hard drives available, this should not be an excessive space killer for most people.  I personally need only 7GB total for OS and apps.  The remaining data I work with is actually streamed from a 500GB gigabit NAS.  I might switch to a 32GB solid state disk one of these days when their performance comes more in par or exceeds traditional drives.
    Recovery CD: You can create your own from the recovery partition since Lenovo does not provide any.
    4th USB: I only use 1 or 2 as well.  1 for an external micro mouse (I love my touchpad, but it's just hard to use with Photoshop or CAD apps) and a second for a USB memory key.  My other devices i.e., scanner, external mouse, keyboard, are plugged in on my desktop through a USB hub that goes to a single port on my docking station.  So yes, your docking station will probably remove the need for more than 2 ports.  Although, I do find it odd there are only 3 ports... such an odd number.
    Screen Size: I personally wish I could have gotten the X series of laptops but the 14.1 was the only other mobile solution.  For the larger screen size, docking station to my 24" Dell 2405FP.  The compact nature of the T series makes it pretty thin and compact though... it was not too much bigger than my L400 - at least, not uncomfortably bigger.
    But yeah, I think if you make the switch, you'll be getting yourself a solid machine that will keep u going for years.  The Latitude line of Dell's were really good, but overall, I feel that the nature of Dell's manufacturing process is making it too "cookie cutter" and reducing its overall quality level.  Their earlier lines were awesome, like the D lines you mentioned.  But unless you get the ATG line, you just won't get the same level of quality they used to offer (in addition, the ATG line is wickedly too expensive - I'd rather get a Durabook for military grade spec at a fraction of the price). 
    Anyway, have fun shopping! :-)
    And moderators or employees of Lenovo, don't you guys get referral bonuses for giving your employee discount code to friends and family?  *wink*
    T61_Wide | Model No. 7662 - CTO
    Core 2 Duo T7250 | 2GB OCZ DDR2-800
    82566MM Gigabit | 4965AGN Centrino Pro

  • I have some question on "Use LabVIEW to Control two DSP and RTDX"

    I have some question when writing LabVIEW. I have DSP6711 and DSP6416, I use RTDX to send data to LabVIEW.
    I write three programes for LabVIEW, one is RTDX for DSP6711, another is RTDX for DSP6416, and the final is RTDX for two DSPs.
    The program of LabVIEW is workable when doing DSP6711 or doing DSP6416. But there is some problem when running DSP6711 and DSP6416 on LabVIEW at the same time.
    How to tell the LabVIEW's tool of " RTDX read" to  get the datas from different DSP

    What you want to do should be fairly straightward and a good way to learn labview. 
    First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments.  I found the keithley drivers at the link below.  You will need to find the labview drivers for the Agilent PS at their website.  Drivers are the VI's you will use in your program to control the insturments.
    http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
    If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview.   This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
    Brian
    Message Edited by BrianPack on 09-14-2005 05:21 PM
    Message Edited by BrianPack on 09-14-2005 05:21 PM

  • Some Questions on BPM

    Hi Master,
    I Attended the one Interview...I have some Questions, Please Reply ASAP..
    <b>What is Pattern</b>? Why we are using with Real time Example.
    Thanks & Regards,
    SReddy

    Hi,
    As moorthy already said pattersns are like templates that can solve many of the real time scenarios either as given or with some customization.
    In BPM there are different patterns and each one having some sub patterns within them with slight variations.
    Some Patterns are,
    1. Multicast Pattern.
    2. Serialization Pattern.
    3. Sync/Async Bridge Pattern.
    4. Collect/Bundle Pattern.
    You can go thro this help link for more examples in Patterns,
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm
    Regards,
    P.Venkat

  • Some questions on EJBs

    hi, i am an intermediate javaee developer but i have some questions on EJBs. sometimes i wonder why do i want to use EJBs in an application. if possible please use some illustrations.
    1) What problems do EJBs both session bean and message driven bean solve respectively. like what was the motivation behind creating ejbs.
    for ex, someone complained to me once that an app his company wrote took time to load large sets of data, and he asked if he should use EJBs, and i am like, does an EJB load data faster? though i think i said it could help, not because i was sure, but because u know the "Biig EJB", it has to solve it.
    2) why do people compare spring and ejbs, and sometimes prefer spring over ejbs.
    3) in what situations could an EJB be neccessary/advantageous, and what are the disadvantages if any.
    thanks.

    java_everywhere wrote:
    1) What problems do EJBs both session bean and message driven bean solve respectively. like what was the motivation behind creating ejbs.
    for ex, someone complained to me once that an app his company wrote took time to load large sets of data, and he asked if he should use EJBs, and i am like, does an EJB load data faster? though i think i said it could help, not because i was sure, but because u know the "Biig EJB", it has to solve it.It doesn't solve any problems, it is a framework that you can use to make your development (and maintenance) cycle easier IF you use it properly. For example, you get integrated JMS support through message driven beans, no extra work needed there. You get container managed transactions, which made my life a whole lot easier once I got over that phase of thinking the server is responsible for everything (it is not, you are still in the driver seat when it comes to transaction management). As part of that transaction management you get out of the box ORM support through the JPA specification. You can take advantage of the load balancing features of the server for heavy weight applications. etc. etc.
    In essence you shouldn't think in terms of what EJB technology gives you; what does the entire JEE platform give you, of which EJB technology is only a component?
    >
    2) why do people compare spring and ejbs, and sometimes prefer spring over ejbs.A real world example: when putting together Ikea furniture you can usually get very far with only using those little tools they give you in the package. However, sometimes you are forced to use a screwdriver, a hammer or a drill. And sometimes you use a screwdriver to keep something in place while using the little Ikea tool to put in a screw. Combining the screwdriver and the Ikea tool usually stems from experience where using only one of them took so much longer and was so much more frustrating to get the things done.
    Interesting how real world examples usually translate to software development as well. Why would you limit yourself to using only one tool when combining tools could give you more flexibility and could solve a problem easier because you use the strengths of both to compliment each other?
    3) in what situations could an EJB be neccessary/advantageous, and what are the disadvantages if any.All technology exists because there was some need for it. Need rises from requirements, so this question is not answered right here and now - it should be asked on a per project basis. I have this project with these requirements, how could EJB technology help here? How could Spring help? How could Struts 2.0 help? etc. etc.

Maybe you are looking for

  • Create auotmatic purchase order for non stock materials

    Hi, Please provide me information on how to create automtaic purchase order for non stock materials in MM system. Regards

  • Album info doesn't save.

    Changing info on any album won't save. I right click album, get info, I change the info and click "ok" and then nothing is changed.

  • Re: Exhibition sales.

    Hi guru's, Can anyone explain what is the best process / cycle for exhibition sales. which takes place as the goods are issued for the respective plant, they are demonstrated in exhibition sales & also sale it then the remaining qty will return the p

  • Clearing email addresses from history

    is there any way to clear email addresses from the history? not my contacts, the saved addresses that I've previously sent to. I tried deleting the email acct but they still come up when I re-added the account. thanks.

  • URGENT:  Loop through files

    I have a package that will be run from an Oracle Job and I want to process files in a directory and load each of the files into the database. I can load one specifically, but I want to loop through all the files in the directory and load each one at