Better design for applet in 2 phases

Hi,
a client asked me to write two applets :
first applet will need to select some local files and saves there full paths into a text file .
in a 3rd phase this text file will be passed to a second applet to do work with each file in the list.
the need to split this into 2 applets is that we will have an intermediate 2nd phase where user will need to do some payment processing etc.if he/she passes payment phase he/she will be redirected to second applet to work with files list saved in text file from 1st applet.
do you think using a text file to save file paths and pass it to second applet is a good solution?
is there any other clean and elegant solution to pass a list of local files path to a second applet later in another phase .(2 applets won't probably communicate directly b/c there will an intermediary phase a php script )
thanks.

Once you've sent some files through an applet, through a PHP script, and thus they're now on the server, it seems really odd to me that you'd do further processing in another applet. More likely you'd want to do all or most further processing on the server.

Similar Messages

  • Better designs for phones?

    I completly understand that the people employed for desinging nokia phones are professionals and maybe even top of the class in their respective fields.
    As this is a "idea and sugestion" forum i wanted to discuss about few nokia desings such as N91 and N73.
    N91- best out there in terms of audio quality and capacity. although the desing looked good on the website in reality it dint appeal to many people. Its shocking to note that the phone is infact dangerous when the slider is open and can giv u cuts if ur not careful.
    This is a major design flaw and i hope that by discussng it on this forum it might (just might) get the attention of nokia desingers, who will avoid this in future.
    N73- It is no doubt a fierce contender on the market right now and is skewed with positive feedbacks. The desing is great but the concern is the keypad that is very jam packed and kinda takes getting used to.
    This minor inconvinience could easily have been avoided if the numeric keypad had a convex finishing that could make key presses more accurate.(kindly see the N93 keypad to fully understand what im saying).
    All in all i would like discussions if any about any nokia model that is great or with desing flaws or how some could be avoided.
    I hope this discussion is looked at as a design feedback rather than a rant, which it really isnt.
    cheers
    Engineering undergrad.

    descartes,
    First off, great post, made a lot of sense.
    Amazing (to some) that the N73 is your first Nokia phone; I currently have the N80 (not sure if I like it or not yet, had it around 2 months & still deciding); but up until then I hadn't had a Nokia since the old 3210 i think it was; something like that anyway...geez so long ago I forget.
    I have had quite a few SE phones over the years, a couple of Motorola's, the odd Panasonic, and a couple of others most probably in between.
    To be honest my post above gave the impression I was annoyed at the volume of phones Nokia churn out each year, saying I tink they should concentrate on getting out fewer higher-quality (less buggy I am not a beta-tester) phones.
    To a certain extent I am still of that view, but then the other thought is that at last Nokia (and other manufacturers to an extent) are pushing the boundaries of what you can put into a mobile.
    Amazing to see what you can do now sn't it!
    The N93 is almost back to the "small brick" stage again; but a much nicer looking brick!
    As for durability, that is not normally an issue with I think the majority of phone consumers, I change mine at least yearly, if not more, but you are right, some will last and some will not, my mum had until last year an old Ericcson phone, worked perfectly (still does I think).
    Perhaps camcorder manufacturers should start installing phones????
    Message Edited by otthen on 30-Aug-2006
    11:53 PM

  • Better Design for EJB 3 and Java Web Dynpro

    Hi all,
    When using EJB Model on CE, to each method a Request and Response are generated. To a CRUD i've 4 methods.
    I've a Foo (JPA Entity).
    public Foo create(Foo)
    public Foo update(Update)
    public void remove(Foo)
    public List<Foo> findBy...
    I think that i could use a Single view for both create and update method. But i will need a separated context objects to each function.
    Request_<Bean>_create
    Request_<Bean>_update
    What is better in this case? a single method createOrUpdate on my EJB? Or a View to each operation?
    Best regards

    Hi all,
    Just to share my decision:
    My EJB continue with the methods.
    public Foo create(Foo)
    public Foo update(Update)
    public void remove(Integer)
    public List<Foo> findBy...
    Was generated one Request to each method.
    Request_<Bean>_create
    Request_<Bean>_update
    I've mapped the both on my Component controller and have created on view to edit and create a new record.
    When the record already exists i'm initializing the Request_<Bean>_createElement with record data, when is a new i've just initialize the new Foo object and put on currentElement of update.
    On the generic save method of controller, a test is done to decide if the Request<Create> or Request<Update> model Object.
    Best regards

  • Searching for a better design for function in sql where clause

    We are using for a while a parameter management framework based on parameter hierarchy and matrix fully internazionalized. For implementation flexibility we never use primary key to access directly the parameter but used a function that return the corresponding primary key by selecting it in an array in a package with a parameter name or external identification number that never change.
    All is working well ... the system is very flexible ... we are as developper very happy because we can offer a centralized management parameter system for the whole application.
    Our problem is regarding the lack of sql performance when the packaged function are used in sql ... it seem that they are executed each time for earch row instead of only once and bind to the sql (as a bind variable). This is really a big issue. We solve the problem in PL/SQL by getting the parameter in variable and bind it the sql but it is not possible everythere and we will be interesting to know if somebody had similar problem and how we may solve the problem.
    Thanks a lot

        select  contractdate.contract_i
                                , contractdate.contractdate
                        from    contractdate
                                ,     (     select     contractdate.contract_i
                                  , max( nvl( contractdate.dateto, sysdate) ) dateto
                             from     contractdate
                             where     contractdate.t_contractdate_i = firstexpiry
                             group by contract_i
                        ) contractdatelast
                        where     contractdate.contract_i = contractdatelast.contract_i
                        and     nvl( contractdate.dateto, sysdate ) = nvl( contractdatelast.dateto, sysdate )
                        and     contractdate.t_contractdate_i = t_contractdate_ipar.fgetflextypologyclassitem_i( t_contractdate_ipar.fis1stexpiry )t_contractdate_ipar.fgetflextypologyclassitem_i is the function that return the primary key corresponding to the internal identification number
    t_contractdate_ipar.fis1stexpiry is the function that return the internal identification number
    An array in a package contains class and items internal identification number with the corresponding primary key used in the whole application (label, description in the user language also). All data for item (parameters) are stored in the flextypologyclassitem table that is referred by all parameters in the application. An application manage this table as a centralized parameter system.

  • Design for Availability Check for the Receiver System

    Hi,
    Scenario: Request has to be diverted depending on the availability of receiver System.
    Design: During Runtime, we will make RFC Lookup call in mapping to Receiver System, to check it availability and accordingly I will determine the Receiver.
    Issue: We had the Receiver System Up, the Availability Check using Lookup to Primary Receiver system was successful,  but due to table lock issues in the receiver system, request for RFC and Proxies was not responded back. So we got call dumped in PI saying service unavailable exception.
    Is there any better design for to handle this kind of scenarios, inorder to have functionality available round the clock?
    Regards,
    Manikandan R

    Hi Mani,
      You need to identify the availability of the system at mapping level only,i think the approch is to write UDF or simle JAVA Map to check the availability and return same status out put based on that you can route the message.
    use wait step in BPM give some particular time to wait,then process the message,in this case we are going check only once. if you want check repeatedly use loop and put your mappingt,but this is not at all adviceble.
    other way develop scenario ,if system down means communication channel throws error,based on that raise a alert,so that appropriate people will take action.
    but most of cases availability of system is 24 hours , but i am not sure about your case.raising alert is the good idea.
    Regards,
    Raj

  • Is this the best design for asynchronous notifications (such as email)? Current design uses Web Site, Azure Service Bus Queue, Table Storage and Cloud Service Worker Role.

    I am asking for feedback on this design. Here is an example user story:
    As a group admin on the website I want to be notified when a user in my group uploads a file to the group.
    Easiest solution would be that in the code handling the upload, we just directly create an email message in there and send it. However, this seems like it isn't really the appropriate level of separation of concerns, so instead we are thinking to have a separate
    worker process which does nothing but send notifications. So, the website in the upload code handles receiving the file, extracting some metadata from it (like filename) and writing this to the database. As soon as it is done handling the file upload it then
    does two things: Writes the details of the notification to be sent (such as subject, filename, etc...) to a dedicated "notification" table and also creates a message in a queue which the notification sending worker process monitors. The entire sequence
    is shown in the diagram below.
    My questions are: Do you see any drawbacks in this design? Is there a better design? The team wants to use Azure Worker Roles, Queues and Table storage. Is it the right call to use these components or is this design unnecessarily complex? Quality attribute
    requirements are that it is easy to code, easy to maintain, easy to debug at runtime, auditable (history is available of when notifications were sent, etc...), monitor-able. Any other quality attributes you think we should be designing for?
    More info:
    We are creating a cloud application (in Azure) in which there are at least 2 components. The first is the "source" component (for example a UI / website) in which some action happens or some condition is met that triggers a second component or "worker"
    to perform some job. These jobs have details or metadata associated with them which we plan to store in Azure Table Storage. Here is the pattern we are considering:
    Steps:
    Condition for job met.
    Source writes job details to table.
    Source puts job in queue.
    Asynchronously:
    Worker accepts job from queue.
    Worker Records DateTimeStarted in table.
    Queue marks job marked as "in progress".
    Worker performs job.
    Worker updates table with details (including DateTimeCompleted).
    Worker reports completion to queue.
    Job deleted from queue.
    Please comment and let me know if I have this right, or if there is some better pattern. For example sake, consider the work to be "sending a notification" such as an email whose template fields are filled from the "details" mentioned in
    the pattern.

    Hi,
    Thanks for your posting.
    This development mode can exclude some errors, such as the file upload complete at the same time... from my experience, this is a good choice to achieve the goal.
    Best Regards,
    Jambor  
    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.

  • No additional applications designed for your device were found

    Hello,
    I tried to install my BB Application.
    My env is  -
    Device BB 9700
    Desktop Manager 5.0.1
    The first time of load my .ALX file the desktop manager show the below error :
                           No additional applications designed for your device were found
    I retry to load the same file then this work correctly.
    You have an idea ?
    Tks
    \\ Luigi
    Solved!
    Go to Solution.

    You said, "The first time I try to load my .ALX file..."
    This makes me think you are developing the application. Try the development forums - I'll bet someone there has seen this.

  • Which is better datatype for storing Images in 11gr2 Database ?

    Can anyone tell me which datatype should be maintained for storing images in database in terms of
    1. Space
    2. Speed.
    And, Is there another way for storing images instead of database ?
    Thanks/Regards in advacne.

    982164 wrote:
    Which one have better speed, database system or file system ?Database is better all around. It is not just a question of speed. It is a question of storage, security, flexibility, scalability, robustness and so on.
    If you use ASM and raw devices from a storage array or SAN, how do you get o/s files onto that? (requires a file system on the SAN/array LUNs)
    If it is inside the database, database security, concurrency and consistency apply to the image. Outside the database? How do you control who has access? Prevent someone with slippery fingers from accidentally deleting/renaming/moving images files? How do you backup up the image data with the image attribute data in the database?
    Having all this inside the database, part of the database, managed by the database, provides you with more flexibility, robustness, and security. After all a RDBMS is a data management system - it is designed for managing data. And that includes managing binary data.
    As for speed. Reading a 24MB image is reading 24MB worth of data. Whether that data is read by process A from disk1, or process B from disk2 - the amount of data is the same. So if you want faster I/O, then use faster disks. If disk1 is faster, process A will perform better reading the image than process B. If disk2 is faster, the roles are reversed.
    So I/O speed is not a direct function of process A or process B. It is a direct function of the I/O storage and fabric layer. Yes, a process's method of I/O can make a difference (e.g. using block reads not aligned with the physical blocks on disk). But this is more a configuration issue than process doing badly designed I/O calls.
    So the speed question is a bit loaded as it has more to do with the architecture and design of the I/O system - and less to do with the process doing that I/O. You can have a highly optimised I/O process doing poorly using an old and slow I/O layer, and poorly written I/O process doing pretty well on a SSD I/O layer.
    Databases like Oracle is designed for dealing with data - and thus effectively dealing with I/O. Lots of it. For lots of data. So I/O process design is not a consideration. The database processes will use the I/O layer as optimally as possible and as configured.

  • Site examples of using css to design for smartphone, tablet, projection

    Hi,
    Can anyone recommend a site that uses css to design for different platform using css. Not a standalone mobile site, but one where the existing site uses jquery to show the sites differntly.
    I saw a video of it using cs5.5 and it seems to be the way forward, but would love to see how others designed/structured their sites to use this technology.
    Cheers
    Dave

    Hi
    The best place to view demo's regarding the jQuery mobile framework is the official site at - http://jquerymobile.com/. But remember designing and building a site specifically for mobiles, (tablet/mobile/cell devices) is no longer a completely different process to a normal site and all smart-phones can now display a normal desktop web site as good as a desktop pc, (and when it comes to html5/css3 even better).
    The use of redirects for mobile devices is now an old outdated recommendation, and is the equivalent of saying to any tablet/smart-phone user, "Use IE7 or go-away", so unless you are mainly targeting pre-2008 devices do not bother, (Google and similar do this because they are covering 'all' devices and present a very simple page design which convert to mobiles without much difficulty). It is now a more widely accepted method to use media-queries to display a link to a mobile specific site, that is hidden on larger displays.
    Do not get hung-up as some do on this site with the iPhone, it is only one of the devices that must be targeted, and is not even the most popular having a smaller market share than Android powered devices, (I personally use the iTouch, (which has the same web capabilities as the iPhone) and the Samsung Galaxy S2 for my personal testing, then SDK's and 3rd party testing services for other devices) a popular blog with many links that is specific to mobile development is - http://www.visionmobile.com/blog/.
    With regards to testing on mobiles, you do not require a iPhone specifically, and if you are on the mac you can download the SDK for accurate testing, (but then what does one do for all the other devices?) and the true mark of a professional, (which I do not claim to be, my clients may, but I do not, and anyone saying they are whilst 'insulting' others must be viewed with suspicion, as inter-personal skills are also part of any designers/developers necessary skills) is knowing that you must test on all popular OS's and devices, (similar to browsers, and just testing on the iPhone is like just testing your site in IE8 and ignoring everything else) so for setting up a local testing suite see - http://www.mikebrittain.com/blog/2010/01/31/browser-testing-for-mobile-web-applications/, and/or you can also use a 3rd party service such as - http://www.deviceanywhere.com/.
    For a number of tutorials on using CS5/5.5 for developing mobile site see, - http://www.adobe.com/devnet/devices/mobile-web.html.
    PZ

  • What is a good design for remote Views?

    Hi All,
    I am thinking how would I design my process for performance consideration in retrieving dynamic values of table/view data.
    The requirement is like this:
    1. We have 50 databases residing on each own server counterpart (50 servers).
    2. Each database has table Patch_LeveL (apps_name, patch_level), which contains  just one row only to reflect the latest patch level applied for the apps on this database. Note that are we constantly on applying service packs for this apps.
    3. On our central monitoring server (db). I create 50 database LINKS for each of the 50 databases.
    4. I created 50 views over these links to make  it centralized to represent  the 50 Patch_Level tables. As   patch_level_view1, 2, 3.....patch_level_view50.
    5. I then create a central view as .... as  union of the 50 individual views Actually I am just planning to do the above activity.
    My question is....is this a good design for performance? Can you share be a better approach?
    Is there a limitation of joining "union" of 50 views?
    Thanks a lot,

    Is there a limitation of joining "union" of 50 views?What can happen is if the connection to one of these servers is interrupted, the big "union" view will not work. As said by above poster MV, with lets say an hourly refresh, helps with this situation as you have the data that was gathered last time (and most likely it is still valid).

  • New BETA drivers for TV@nywhere Master

    there was a thread somewhere before where someone had found some updated BETA drivers for the MSI TV@nywhere Master card but it seems to have gone now  
    i've been using them for a while now, and they're very stable, and the picture quality has improved somewhat
    they say they are for the Master version of the card, but i think they may work on the Mega PC version, the only difference is the Master has a AM/FM tuner as well
    anyone having stability probs in media center III or MSIPVS might want to try them out and see what happens...
    i've uploaded them to my webspace, and you can find them here in ZIP format: http://www.ukshazam.com/downloads/8606Master_drv.zip
    please note these are BETA drivers and as such MSI won't support them (as if they do anyway  
    i'll also post this in the Mega PC forum

    As I recall when this BETA driver started flying around the forum, they WERE NOT official or unofficial MSI drivers. They were modified by a user from another forum and someone from this forum posted a link to them. THESE ARE IN NO WAY RELATED TO MSI DIRECTLY!! Someone reversed engineered the driver and probly thru extensive testing, via trial and error, was able to clean up the driver to give the result that most have had with them. This doesn't mean that everyone is going to have the same result, which is and has been the reality with any add-on card produced since PC's came out...compatibility issues DO still exist out there and not all systems are going to play in the sandbox well with all add-on cards that are manufactured...something to keep in mind when purchasing new systems...
    Furthermore, it's been my experience that proprietary systems (The Pac-10 as I call them...IBM, Dell, Gateway, HP, Compaq, Sony, eMachine, etc...) have more issues than White Box systems when it comes to add-on compatibility. If you don't know this already, most of these companies DO NOT want you to purchase off the shelf items from Best Buy, CompUSA, etc...they want you to have to come back to them for upgrades and add-on devices, at higher than retail prices, and that's where they make the most profit. Sad reality, but true. Case in point: My first retail purchased PC was a Dell XPS Pentium 100, (my prior PC's were purchased from Michael Dell's garage) I wanted to upgrade it to a 4X CDROM drive and Dell had failed to include the snap in side rails for their new innovative case that was tool-less. So I called up Dell support and asked if these rails were available. The CS Rep told me that they were so I asked how much. She asked me if I had bought the upgraded device from Dell and I said no. Then she informed me that they wouldn't sell them to me ($6.00 US) because I hadn't purchased the upgrade device from them. Needless to say I was pissed. This was circa 1995-96.
    Anyway, over the years of doing network consulting, I can't tell you the countless times that I've heard this type of thing on the phone from many of the above listed companies...yes, most have gotten better over the years (Like Dell including all of the rails needed inside the case nowadays) but overall they still have the same mindset and it's much more subtle when they design a motherboard that won't play in the sandbox well with retail bought components...*shrugs*
    I got tired of playing their game after a while and started building my own systems. I found White Box isn't always better either but for the most part it's been a far cry easier than buying proprietary...
    Just my 2 cents here for what it's worth...

  • Creator the right tool for applets?

    Hi.
    beeing new to Sun's Java Studio Creator I would like some opinions whether the Creator is the tool to use if use cases mainly focus on applets that get their data via WebServices.
    My main use case would be an applet with a tree-control showing a lot of machine tools and an area that displayes some charts. Charts would be rendered by a 3rd party component. The Applet should talk to a WebService exchanging XML-Data.
    I just don't know if Creator is the right tool for that.
    Many thanks in advance,
    Christian

    Hi.
    beeing new to Sun's Java Studio Creator I would like
    some opinions whether the Creator is the tool to use
    if use cases mainly focus on applets that get their
    data via WebServices.
    I just don't know if Creator is the right tool for
    that.
    Many thanks in advance,
    Christian<br><br>
    Personally, I would opt for Net Beans 5.0 beta 2 for this type of scenario. The IDE is much better suited for Swing and AWT type of applications. In addition, it has some impressive layout managers for Swing.
    <br><br>

  • Need guidelines for designing for web

    I'm going to be doing some outsourced design for a web developer. I'd like to build the file - a whole web page - in Photoshop and am needing a place to start.
    - First, what is the best setup size for that file?
    He uses Fireworks but says he doesn't think his version - 8 - can use PSDs. So he wants a PNG. Does a conversion support layers?
    - What is the best tool for approaching this? Should I build it in Photoshop or is there some other program that is better for doing this? Am I at least on the right track?
    - If anyone has any other advice, guidelines, suggestions that would be helpful in doing this I would appreciate that also.
    My Photoshop level is probably about intermediate so if any of you pros have some wisdom to share that would be great. I've never done design for a web page other than some work on my own, which is still a work in progress as I am not a web developer - so the design itself looks nice, but the web page part is still a work in progress.
    Thanks =)

    You don't need to be the one looking for some of these answers, he does. But good for you for asking. But he should know his file requirements and what programs he has and what they can do. Sounds like he struggled with web design with Fireworks and probably had little taste in graphics and so has now 'hired out' to get someone else to be responsible for his lack of knowledge.
    I mean, are you designing a fluid page or do you really need to know the exact dimensions for the page and if so, shouldn't he provide those??!
    You can design a page that is a good mock up and slice it up and port it over and he can take the cells where there needs to be content and/or navigation and pull out those parts of the image you created and put in what he needs to make the page work, using CSS or regular links or working within Fireworks. But if you are trying to design something so vague then I agree with Jim, this may not be pretty.
    Tell him what you can do and feel comfortable with. If you are just designing the page but he is developing the page, then keep with that. You should ask what size page, the total weight he wants, over all suggestions and then you get to work and do the details for the banners or graphics and he develops those into a working PHP or ASP page. If this is a shopping cart, then I would say this won't be an HTML page. If the page will have a banner across the top, then ask what size banner would he like and is there a minimum size to make the banner fluid?
    My question, why not find a good working template out there and you do the customization with the graphics and let him use current proven technology? Go look at web templates with him online. Find something and then do the graphics to customize the template as needed. There are templates for Dreamweaver, Fireworks, and other programs using PHP or ASP pages. Does he know what database he is using, or if the server is Apache or MS? Wow.
    If you are designing, again... let him develop. These are two different things. Know your limits. And good luck...
    Randal

  • Cannot install Itinerary Designer for VS 2010 on Win7

    I have been facing issues with installing Itinerary Designer for ESB Toolkit 2.1 Appreciate if someone can point to the possible shortcomings in my setup.
    I have BizTalk Server 2010 Developer Edition running on Windows 7 machine. SQL Server 2008 R2 and Visual Studio 2010 with SDK. I am able to install ESB Toolkit 2.1 and also configure it. However when I try to install Itinerary Designer Extensions it
    throws "This extension is not installable on currently installed products"
    I have also installed "Windows SDK for Windows 7 and .Net Framework 4" as was advised in one of the forums.

    when I try to install Itinerary Designer Extensions it throws "This extension is not installable on currently installed products"
    Hi Laxmikant,
    According to the error message above, please install VS 2010 update 1, and check whether it can fix it.
    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.

  • 3rd party video cable "Not designed for iPhone" message

    Ok i got the original Apple Component Video Cable...works fine and everything...i went to a friends (he has the 3GS) house and we are going to use my iPhone 4 to watch NetFlix on the big screen...he has a RocketFish brand(looks a lot better than Apple ones)...i hooked it up and says "not designed for iPhone" but works perfectly and even better picture quality...
    So Why do we get a message like that were its pretty much the same cable just different brand? Is there like a chip inside that says original apple product or something?

    you know i wonder the same thing im guessing that its the pin layout that does it and not a chip but thats my guess...

Maybe you are looking for

  • Error while importing a plugin in12c..

    Hi, I am trying to deploy a plugin on Oracle enterprise manager 12c. I have created the plugin as jar file and now i need to import the jar file to deploy it.For which i need to run the emcli import_update command. I am execute this emcli command on

  • Program displaying technical codes in the selection screen during execution

    Hi Gurus I am facing problem during the execution of the newly created program that during execution of program selection screen is displaying technical codes. from where to change the settings so that it should show the description Regrads Manvir

  • PO Release process item level control

    Hi, Please guys any way to control  Release process at item level based on account assignment any configuration or user exit or bapi. JACK

  • Animation SWF Problem

    I can't get a SWF file to play in preview or publish mode - yet it will play in edit mode.  Is there something wrong with the SWF file?

  • Error while loading OS performance page

    Hello all, I have a 10.2 Grid Control on Solaris monitoring oracle 10R2 on Solaris SPARC. I do not get the performance details in Grid Cotrol -> Host-> +<Host Name>+ -> Performance Page I get the below error and it displays all the charts with no dat