How to design multi screen application?

Hello Everybody,
I am building a BI application(AIR) that will run on desktop(resolution is not fixed) as well as on device like ipad and variety of mobile phones.
But I am having trouble in making its design cross resolution. Please suggest me a proper way to build the app flexible to fit to any screen.
Thanks in advance

When a user clicks in a row in the JTable, I want that the JTable
disappears and shows all the info of the row selected. Once my user
finish the edition of this row the will return to the jtable and will show
the information updated.A more common design would be to display a modal dialog with the row information and then update the table when the dialog is closed.

Similar Messages

  • From a Technical Architect point of view, how to design a web application?

    Hi to all,
    I am writing this issue here because I this question is not related on how to program, but on how to design a web application. That is, this question is not related to how to program with the technologies in J2EE, but how to use them correctly to achieve a desired outcome.
    Basically I know how to develop a simple web application. I like to use SpringFramework with AcegiSecurity and Hibernate Framework to persist my data. I usually use JBoss to deploy my web applications, however I could easily use Tomcat or Jetty (Since I am not using EJB�s).
    However I have no idea on how to develop (or a better word would be �design�) a website which is divided into different modules.
    Usually when you develop a website, you have certain areas that are public, and other areas that are not. For example, a company would want anyone on the Internet to download information about the products they are selling, however they would only want their employees to download certain restricted information.
    Personally I try to categorise this scenario in to common words; Extranet and Intranet.
    But � (and here starts the confusion in my mind) should I treat these two as two projects, or as one project? The content to be displayed on the Extranet is much different then the content to be displayed on the Intranet and definitely clients should not be allowed to the Intranet.
    First approach would be to treat them as the same project. This would be perfect, since if the company (one day) decides to change the layout of the website, then the design would change for both the Intranet and the Extranet version. Also the system has a common login screen, that is I would only need to have employees to have a certain Role so that they have access to the intranet, while clients would not have a certain Role and thus they would not be allowed in. But what about performance and scalability? What if the Intranet and Extranet have to be deployed on the different Hardware!?
    The second approach is to threat them as two separate projects. To keep the same layout you just copy & paste the layout from one project to another. However we would not want to have two different databases to store our users, one for the employees and the other one for the clients. Therefore we would build a CAS server for authentication purposes. Both the Intranet and the Extranet would use the same CAS server to login however they could be deployed on different hardware. However what if we want to change the design. Do we really want to have to just copy and paste elements from one project to another? We all know how these things finish! �We do not have time for that � just change the Extranet and leave the Intranet as it is!�
    The third approach (and this is the one I like most) is to have a single project built into different WAR files. The common elements would be placed in all WAR files. However in development you would only need to change once and the effects would show in the different war files. The problem with this approach is that the project will be very big. Also, you will still need to define configuration files for each one of them (2 Web.config, 2 Spring-Servlet.config, 2 acegi-security.config, etc).
    Basically I would like something in the middle of approach 2 and approach 3! However I can identify what this approach is. Also I can not understand if there is even a better approach then these three! I always keep in mind that there can always be more then two modules (that is not only Intranet and Extranet).
    Anyways, it is already too long this post. Any comments are more then welcome and appreciated.
    Thanks & Regards,
    Sim085

    Hi to all,
    First of all thanks for the interest shown and for the replies. I do know what MVC or Multi-layered design is and I develop all my websites in that way.
    Basically I have read a lot of books about Domain-Driven Design. I divide my web applications into 4 layers. The first layer is the presentation layer. Then I have the Facade layer and after that I have a Service layer (Sometimes I join these two together if the web application is small enough). Finally I have the Data Access layer where lately I use Hibernate to persist my object in the database.
    I do not have problems to understand how layering a web application works and why it is required. My problem is how to design and develop web applications with different concerns that use same resources. Let me give an example:
    Imagine a Supermarket. The owner of the Supermarket want to sell products from the website, however he wants to also be able to insert new products from the website itself. This means that we have two different websites that make use of the same resources.
    The first website is for the Supermarket clients. The clients can create an account. Then they can view products and order them. From the above description we can see that in our domain model we will have definitely an object Account and an object Product (I am not mentioning all of them). In the Data Access layer we will have repository objects that will be used to persist the Account and Products.
    The second website is for the Supermarket employees. The employees still need to have an account. Also there is still a product object. This means that Account and Product objects are common to the two websites.
    Also important to mention is the style (CSS). The Supermarket owner would like to have the same style for both websites.
    Now I would not like to just copy & paste the objects and elements that are common to both websites into the two different projects since this would mean that I have to always repeat the changes I make in one website, inside the other one.
    Having a single WAR file with both websites is not an option either because I would not like to have to deploy both websites on the same server because of performance and scalability issues.
    Basically so far I have tought of putting the common elements in a Jar File which would be found on the two different servers. However I am not sure if this is the best approach.
    As you can see my problem is not about layering. I know what layering is and agree with both of you on its importance.
    My question is: What is the best approach to have the same resources available for different websites? This includes Class Files, CSS Files, JavaScript Files, etc.
    Thanks & Regards,
    Sim085

  • How do you shoot and record videos on iSight? Also, how to do multi screen?

    I've never tried using the camera. Just didn't have a need for it, but I'm gonna start making videos. How do I do this? I'm stupid=(

    For one thing, please post ONE question per thread.
    In answer to your question, the iSight wasn't really built for shooting video (it's low resolution and the built-in ones are fixed-distance, so they won't work well for anything more than a few feet away. Nevertheless, you can use something like iVeZeen by Boinx Software to acquire video from the iSight.
    As to your second question, what do you mean multi-screen? Multi-screen what?

  • How to design a screen field

    Hi
    I have to design a screen field which has 99rows and 60 digit each.
    Please help me out from this
    Thanks
    Neelima

    Try (documentation) [Defining a Table Control|http://help.sap.com/saphelp_bw/helpdata/en/d1/801bdf454211d189710000e8322d00/frameset.htm] and (sample) [Learn Making First Table Control |http://wiki.sdn.sap.com/wiki/display/ABAP/LearnMakingFirstTableControl].
    Regards,
    Raymond

  • How to generate multi-lingual applications with Designer?

    In Designer 10g we have the definitions of hundreds of tables and views and
    forms/reports modules. Currently all texts (prompts, hints, comments, help texts, etc) are in Dutch. Because of new customers in Germany, we now have to translate everything into German (and in the future also to French and English etc).
    We know that we can use Translation Hub to translate forms and reports,
    however, many tables/columns are used by more modules (sometimes 10 or more). So, the translation of each module with the Hub is very inefficient.
    We are wondering if there are easier ways. For example, when we translate a
    prompt of a tablecolumn, Designer (Headstart) can update all related module items. So, with one translation, we in fact translate many modules at once.
    We could perhaps make a copy of the application, but that will work very
    inefficiently because each modification has to be done on multiple
    applications.
    Has anyone a genius solution for this?
    Thanks for your help, Jan Willem

    I hate to be the one to break it to you, but there isn't a genius solution out there for you. And it isn't a Designer problem, it's an application architecture problem.
    You'll notice that Headstart (since you've looked at that) does two things for you. One is that it has utilities to go update many items for you. Two is that it uses standard error and LOV tables which are multi-lingual based. You enter your messages and lookups in many languages (many rows per code, one per language) and the Headstart library logic displays the right row based on the code and the NLS setting. architecture.
    In your case, where you have hard-coded everything, if you don't want to re-architect things, then your only solution is to clone things. Probably best off (based on other client experience) to just keep the single model in your base language, develop and gen as you have been, and then work your way through all the source code (database and application components) to do all the translation (as noted the Translation Hub can help some), and then implement each result. At least that way you know all the functional logic works. So you're not introducing any bugs (except for when the translated info is longer then the base info -- as we have here in Canada where French takes up more space then English). sorry. ugly.

  • How to Design Multi Page Report in SSRS 2008

    Hi All,
    I have managed to create a multi page report. When I am preview mode i can see that the report has 2 pages.
    But when I am in design view I cannot view the second page. How can I view the second page. Reason being I am trying to create a template where the table for certain data needs to be at the top of the page and some data at the middle and so on.
    Thanks in advance.
    Aash.
    Aash

    Hi Aash2,
    According to your description, the behavior of cannot view the second page in design view is expected, in another way, there is only one page in design view.
    Report Designer supports two views: Design to define the report data and report layout, and
    Preview to display a rendered view of the report. If you would like to show a table on the first page, and show the other table on the second page, you can add a page break on the first table like followings:
    1. Click the gray handle in the first table, select “Tablix Properties”
    2. Click “Add a page break after” check box under Page break options in General Tab
    After do above, you can see the first table in the first page, and the other table in the second page.
    For more details about report designer, please see the following article,
    Working with Report Designer in Business Intelligence Development Studio:
    http://msdn.microsoft.com/en-us/library/cc281300(v=sql.110).aspx
    If you have any question, please feel free to ask.
    Thanks,
    Eileen

  • How to design multi-lingual reports w.r.t. boilerplate text

    Hi,
    We need to design reports and report templates that are multi-lingual with respect to the boilerplate text in them.
    How could this be done, if at all?
    I am a bit familiar with the ideas about NLS parameters used to translate and format data that comes from the database, error messages etc., from other OTN posts and Reports documentation.
    NLS stuff is NOT what I'm asking about.
    Also, I don't think I need to mix languages in one report (or maybe is this part of a possible solution?)
    Can I design a report which dynamically displays its boilerplate text parts in different languages, depending on the Windows locale of the user invoking the report?
    Can I put all the boilerplate translations inside the report or some report 'configuration' file, rather than somewhere in the database?
    If the report is set for batch production and automatic distribution, how would the scheduling mechanism tell the report which language to have its boilerplate text displayed at each invocation?
    I think we'll be using Reports Builder 6i for development and will deploy on 9iAS R2 Reports Services. I'm not the actual developer, so I'm not sure about which Report Builder version will be used.
    Thanks a lot,
    Gabriel Tanase

    hello,
    there are several ways to do it. i guess the most practical way is to actually use the XML customization feature that is available with reports or use translation hub, but since you stated that you are using 6i this is not an option as translation hub is only available from 9i onwards.
    however the XML customziation approach would work for 6i as well. essentailly you create your report and make sure all your boilerplate text items have a uniqe name. then you can create a customization file for each language that then changes the content of each of the poilerpalte items. those can be applied at runtime or in batch.
    as for the scheduling, you would need to either pass in a parameter naming the customization file or simply run the correct language version of the report.
    thanks,
    ph.

  • How to design my SAPUI5 application?

    Hi there,
    I'm new to SAPUI5 and I'm currently building my first application.
    It should be used to approve requests (access to shared folders/mailboxes/applications etc.) created in SAP BPM.
    Currently the UI is based on WDJ and I'm replacing it with SAPUI5.
    The application should display the following data:
    Requester details (first/last name, personnel number, company)
    Request data: This depends on the request type, because for each request type different fields are filled
    Initiator: This information is only available if the request has been started 'on behalf' of somebody else
    The application should provide two buttons: "Approve" and "Decline".
    If the user declines a request, a reason has to be entered.
    Only single requests can be processed, so a approver will open each request separately.
    This is how the WDJ application looks like (here it shows an application access request):
    The new application should use sap.m library, because a main requirement is the ability to run on mobile devices.
    I've had a look at the Building SAP Fiori-like UIs with SAPUI5 in 10 Exercises blog, but I'm not sure if that's applicable for my requirements.
    To all SAPUI5 experts out there: How would you design this application?
    Which layout elements would you use?
    Does it make sense to build a Fiori-like app for this scenario?
    Thanks in advance!
    Best regards,
    Thorsten.

    Thanks guys for your answers!
    I've started now to create a Form (not SimpleForm) with a Responsive Grid Layout.
    For me that's better, because I can add content to the form via form containers.
    It allows me to create methods like e.g. getRequester which returns me a form container that can be added to the form.
    oFormContRequester = this.getRequester();
    oFormContInitiator = this.getInitiator();
    var oForm = new sap.ui.layout.form.Form("F1", {
         layout : oLayout1,
         formContainers :
              [  oFormContRequester,
                 oFormContInitiator ]
    With a SimpleForm you have to add the whole content when creating the form:
    var oSimpleForm = new sap.ui.layout.form.SimpleForm(
         "sf1",
         maxContainerCols: 2,
         content:[
              new sap.ui.core.Title({text:"Person"}),
              new sap.ui.commons.Label({text:"Name"}),...
    Do you see that also as an advantage?

  • How to design selection screen with WAD 3.x Web Items

    Hi Guruu2019s,
    I have a requirement where I need to design a selection screen by using WAD 3.x web items. In the selection screen we have to include the Query Description - in the left corner of the selection screen, Name of Sales Person u2013 left side of the screen, Date from and Date to u2013 right side of the selection screen, User ID and User Name u2013 on the top right of the selection screen etc., after this on the bottom of the selection screen I have to include the pushbutton RUN REPORT.
    After filling all the above parameters and click on Run Report it has to trigger another URL link which contains consolidated Sales CRM Report.
    Could any one suggest me and provide me the idea on developing the selection screen with WAD 3.x Web items and is there any other interface to trigger the other URL link when I click on Run Report.
    Regards
    Venkat

    no replies. Closing the incident

  • Help! How to design this mutithreading application??

    Hi, Guys
    I need some advise to meet following requirements. I have also posted how I have done it after the requirement. However, I am looking for better approaches, coz I think mine is not good enough. Can you please help to review it and let me what do you think from the architecture perspective?
    Briefly, the requirement as follows,
    The server should, upon starting up, load into memory a “dictionary” of synonyms words from a text file. The dictionary will be loaded in to a collection.
    The client, which should run in a separate JVM, should, upon starting, enter an iterative cycle in which it repeatedly asks the end user the meaning of a word chosen “at random” from the dictionary. The user’s answer should be checked against the dictionary. A correct answer is one which matches.
    The client must be as thin as possible, and must not cache dictionary contents.
    If, upon attempting to retrieve a question or validate an answer, the client experiences a problem communicating with the server it should automatically recover if the server becomes available again, however the current question may be discarded in this case.
    The dictionary may be huge containing hundreds of thousands of entries. It is most important that when the server is still loading the words, it be able to select random word from dictionary loaded so far and provide it as a question to client. Also, be able to check the answer returned from server is correct or not. So if the client has just restored contact with the server, there must be no noticeable delay before the first question is asked.
    The server should not employ any kind of polling when determining the current size of its in-memory dictionary. You should make best use of multi-threading in order to optimise the implementation.
    The server should allow large numbers of clients to connect to it simultaneously.
    You may use either RMI or Sockets (of the blocking variety) to implement inter-process communication.
    My answer:
    For the inter-process communication, I have used RMI to implements.
    The dictionary content has been stored in a concurrentHashMap.
    The key of the map is a single word and the value is the list of synonyms words (List of strings).
    The reason I have chose this type of collection is that it is efficient when it looks for the synonyms words for a given word.
    Using concurrentHashMap allows different threads access it concurrently.
    The DictionaryServer starts three separate threads
    Thread 1: working on loading the dictionary
    Thread 2: looping through the dictionary to set the random keyword
    In this case, the dictionaryServer is available to the client to query from the beginning. There won’t be a noticeable delay
    when the dictionary size is getting bigger and bigger because the Thread2 – LoopThread will always iterate the dictionary key
    size and provides a random keyword whenever you needs. No polling of dictionary size is needed to determin the random keyword.
    However, while the Thread 1 – loading process is running at the same time, it might causes some delays as it consumed lots of resources.
    On the client side, if the server is down, I use a separated thread to ping the server to see if it is up running. However,
    personally, I don’t think this is the best solution to implements this as pinging can be expensive over the network.
    It would be good to have a push back from the server to tell all the clients when it starts up. But I found it is difficult to do
    with RMI, maybe using JMS is easier to do.
    I have send you the code if any body interested. Seems doesn't allow me to attached my zip file.
    Many thanks.
    ksh29

    kajbj wrote:
    ksh29 wrote:
    kajbj wrote:
    >
    Sounds ok, but what do you mean by "The server should not employ any kind of polling when determining the current size of its in-memory dictionary."
    Why would calling size() be bad?I think size() is bad, especially the response time with size() will increase when the size of the list increases.That is only true for a few collections. Most collections can return the size directly.
    Okay, I don't know. Maybe you are right. Then how to explain "The server should not employ any kind of polling when determining the current size of its in-memory dictionary."???
    I didn't write the requirements and I just got it from a interview and the answer I provided was what I submitted, however, the feedback was no good. So, I don't know what is the best answer and I don't know my understanding of the requirement is correct or not. But seems to me, following two requirement are very important,
    1. The dictionary may be huge containing hundreds of thousands of entries. It is most important that when the server is still loading the words, it be able to select random word from dictionary loaded so far and provide it as a question to client. Also, be able to check the answer returned from server is correct or not. So if the client has just restored contact with the server, there must be no noticeable delay before the first question is asked.
    2. "The server should not employ any kind of polling when determining the current size of its in-memory dictionary."
    And that's why I didn't choose use size().
    >>>
    Btw. You could use something else than a List as value in the concurrent map.
    On the client side, if the server is down, I use a separated thread to ping the server to see if it is up running. However,
    personally, I don’t think this is the best solution to implements this as pinging can be expensive over the network. Huh? Just try to reconnect in a loop, with a delay in between each attempt.That's how I did it, but this is still pulling. Is there any way to solve this from the server side?? Open to suggestions and discussions.
    No there isn't. The server can't tell a client that it is available. The only thing that the client can do is to try to connect periodically.That's good then. Because that's how I thought and I just want to know if there are any other ways to do this.
    Cheers,
    kai

  • How to design multi-languages site?

    Hi:
    I try to store user profile in the database. Since chinese is double
    byte, and english is not.
    Does anyone tell me what is advantage and disadvantage to choose
    defining a user table for all the users or to defining two tables,
    one for double byte user, one for english user?
    Thanks in advance.
    li

    hello,
    there are several ways to do it. i guess the most practical way is to actually use the XML customization feature that is available with reports or use translation hub, but since you stated that you are using 6i this is not an option as translation hub is only available from 9i onwards.
    however the XML customziation approach would work for 6i as well. essentailly you create your report and make sure all your boilerplate text items have a uniqe name. then you can create a customization file for each language that then changes the content of each of the poilerpalte items. those can be applied at runtime or in batch.
    as for the scheduling, you would need to either pass in a parameter naming the customization file or simply run the correct language version of the report.
    thanks,
    ph.

  • How to Multi-Screen android tablet application on Adobe AIR and Flash Professional

    hello,
    I have done app in ipad with Adobe AIR thats work fine in ipad,
    but now i have to create android tablet app for multiscreen resolution like this,
    2560*1600, 1366*768, 1280*800, 1280*768, 1024*768, 1024*600, 960*640, 960*540, 854*480, 800*600, 800*480, 800*400
    and my current .fla file resolution is 1024*768 so how can i create android tablet app with multi-screen?
    thanks

    If your app is mainly code layout interface, then you'll have to just change your code to work with arbitrary widths and heights, instead of a fixed width and height. If instead your app is basically one graphical scene, like say Angry Birds, or a highly graphical scene, you could take the approach I use.
    Read my reply to this message:
    http://forums.adobe.com/message/4735070?tstart=0
    In that message I describe things in Portrait, because I was answering a question about portrait, but it all works out too if you substitute landscape numbers.

  • WAD template with BSP Application - how to read selection screen values

    Hello,
    I've created Web template with Web Application Designer (WAD).
    I would like to extend  that page with BSP Application...
    Purpuse of this application is to read some information from tables
    on BW transaction server and display them within Web page.
    Question: How to read selection screen values from a Web template ?
    Thanks for any help,
    Pawel Borowiec

    Hi,
    The selection screen parameters will be on an inputField, so try and get the is of the inputfield generated by doing View source...
    And once you get the inputfield Id, you can read the value in the InputField(InF) by
    using the following code...!
    data : if_value type ref to cl_htmlb_inputfield.
    data : variable type string.
    if_value ?= cl_htmlb_manager=>get_data( request = request
                                                name    = 'inputField'
                                                id      = 'InF_ID_here'
           if if_value->value is not initial.
             variable  = if_value->value.
           endif.
    Hope this helps.
    <b><i>Do reward each useful answer..!</i></b>
    Thanks,
    Tatvagna.

  • How can i design a EJB application using session Beans?

    Hello,
    I am designing a Find application using EJB. Here a user is prompted a search page, where he can enter the search criteria's. Then on click of submit, the query is formed at the server side depending on what criteria's were selected. Then a jdbc query is performed and the results are returned back to the user. Here no session is maintained for the users. Can anyone suggest me how to design this application using EJB. Should i use entity beans for this or session beans will suffice? Should the jdbc query be performed in the bean itself or should it be outside in a helper class? Please kindlu suggest me the design for this application...
    Regards,
    Subbu

    Hi,
    First of all, I'm unable to figure out why you need to use EJB for this scenario. You can write a helper class to frame and execute the query.
    If you really want to use EJB, then I suggest you use a stateless Session Bean with transaction attribute as TX_NOT_SUPPORTED. From the session bean, you can call the helper class. But, by avoiding the session bean, you can eliminate remote calls, thus improving your performance. Also, check if the database & the db driver you are using supports sql caching.
    Regards,
    Raj.

  • How to setup the Home Screen Application

    Hi,
    I'm using Nokia 5630 XpressMusic.
    When I goto Menu->Settings->Settings->General->Personalisation->Standby Mode->Home Screen Application, there is a list of application available for selection(Mark/UnMark) as below:
    O Shortcut bar
    O Calendar
    O WLAN
    O Contacts on OVI
    O Contacts bar
    I will be able to check the applications that I wish to appear on the Home Screen. My question is how to setup a list of application available for selection. For example,
    O Shortcut bar
    O Messaging
    O WLAN
    O Calculator
    O Web
    Pls advise!
    Regards,
    Toyogo

    Hi,
    to switch on and off the mode go to menu- settings- main display -active standby - active standby mode - on or off.
    Sorry, I cannot get the option path you mentioned.  I'm using Nokia 5630 model which is based on S60 3rd Edition software.  When I goto main menu->settings:  there are 4 options:  "General", "Phone", "Connection" and "Applications"; I goto "General", there are "Personalization", "Date and time", "Enhancement", "Security", "Factory settings", "Positioning".  I goto "Personalization", there are "Display", "Standby mode", "Tone", "Themes", "Language","Voice commands".  I goto "Personalization", there are "Home screen applicaitons", "Shortcuts", "Standby theme", "Notifica.light", "Email notification".  I cannot find the option that allow me to change the list of applicaitons on "Home screen applications".
    Pls indicate which option path that I should use.
    Regards,
    Toyogo.

Maybe you are looking for

  • How to include install date and time in registry keys

    Hi All, Hopefully someone can help me. I am creating an installer which includes some properties in the build specs. I also wannt to include some registry keys to be added upon installation: 1. I include the install directory of the application by pr

  • Date format in utle_file

    Hello all , Help is greatly appreciated. Am updating a column in the table using utl_file and taking the backup of those values which is the input file for the backout script and am giving name with extn - .BACKOUT my original updating script. exmp:

  • SAP Business Connector - Event Manager

    Hi all, We're still using SAP BC 4.7 and I'm looking to the event manager to capture an exception that, for us, results in data loss. The error we get periodically is: 2008-10-07 07:28:59 GMT+00:00 com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_

  • Epson scanner not work with Mountain Lion?

    I have an Epson Expressio 1600Pro scanner with transparency adaptor. It has worked perfectly with previous Macs using OSX 10.4. I have recently bought a MacBook pro and upgraded it to OSX 10.8. I went to Epson's website to get a new driver etc. That

  • Got an upgrade to cs4 from Elements.  Is Elements' license still valid?

    I'm waiting on shipment of an upsell of CS4 from Elements 6. In the meantime, I was wondering if the upgrade would render my Elements 6 license invalid, or if I can in fact use Elements as well (on the same computer).  I tried a search, and after a l