Application architecture selection

Hi all,
My question is a high level question for experienced developers. I am developing a remote administration module for an application. Main functionalities are login, logout, change password, changing runtime parameters, etc. (What else can they be, by the way :)
There will be information exchange between server and client periodically. (5 secs, for instance).
There are basically two possible approaches:
1) I can open a socket connection to the application server for every event and periodic information exchange mentined above,
2) I can open one socket connection and use it throughout the lifetime of the client application. In this case, I must dispatch the incoming messages to different objects.
What would you prefer? Or do you have any other idea?
Thanks

5 Year Developer, Network Engineer, Website Designer, etc
I am @ your service!
My design would be to use a per-message socket life. This depends on what traffic (message) load you are expecting. Heavy loads would be cuase for life-time sockets, low loads would be best for message-life sockets.
There are many different configuratable options on both client and server -sides. However, this would need some extra code, but not that much.
I have been creating software-based IP Routers/Network Access facilities and Interactive Content Generation servers. Web Clients are vary easy to make.
Remember this point: Keep It Simple Stupid! KISS is a term used in model toy markets. It basically means not to make things complex - who needs that anyway?
Here is a web client - vary basic: see how I use the KISS idea.
public class WebClient {
public WebClient(URL url) {
URLConnection link = ur.openConnection();
url.connect();
about 6 lines!
Anyway, I have a large technical paper on Network programming models and ideas based on my experiances. If you would like to have, just send me a letter: [email protected]

Similar Messages

  • Application architecture of oracle crm suite

    Can anyone let me know where can i find the application architecture for oracle crm suite which includes oracle 3i and oracle 11i.

    Hello -
    First of all the best for your Thesis and appreciating for selecting Oracle BPM.
    Check this : http://www.oracle.com/technetwork/middleware/bpm/obpm-articles-086639.html
    Most of the articles are by Mariano Benitez - BPM Architect.
    BR,
    Justin.

  • Oracle ERP and CRM Application Architecture Direction

    Not sure if this is out of topic for this forum but it seemed the closest I could find. If it is out of topic could someone please point me in the right direction?
    Im looking for the architectural direction Oracle is taking for their ERP and CRM applications. Specifically as Oracle moves their applications to the Oracle 9iAS application server will Oracle be changing their application architecture to a Service Oriented Architecture (SOA) as other ERP and CRM vendors are? If not what architecture will the Oracle applications follow?
    Phil Montagliano
    Xerox Corporation
    XIM/Technology, Strategy & Architecture
    161 South Chestnut Street Email: [email protected]
    One City Centre / 0875-05B Phone: (585) 423-8831
    Rochester, NY 14604 Fax: (585) 423-4848

    Hi,
    bit confuse about your question. are you looking for techniacal architecture or looking for business prospective?
    Kindly elaborate your question.
    Yogi
    [email protected]

  • Best use of framework events in application architecture

    Hello,
    I apologize in advance if this is not the appropriate forum to be posting about Flex framework questions.  I considered the Cairngorm forum, but thought the question applied more broadly to all flex frameworks. That, and it seems that the Cairngorm forum isn't really very active.
    My question is about using frameworks for application architecture. Reading the "Introducing Cairngorm" document,  I see that it specifically says that Cairngorm events are just those events that will handle business logic (things like grabbing data from a server, committing data to a server, etc).  So then, how does a view interact with a controller when changing state?
    Let's say I have two or three different views of the same data and I have a buttonbar to switch to the view I want. Is it then typical to dispatch a Cairngorm (or Mate/Swiz/Pure MVC, etc..)  event to the controller to change the view state of the application?  Does this effectively mean that for every button a user can click on, we'll have an event and a command associated with that event to perform some change of state or business logic? With a moderately complicated application, with several different screens, a few forms, a couple of lookups, i.e. lots of buttons for user input, that seems like an awfully huge number of events/commands...? Or do you dispatch a regular old flash Event to handle this? Or does the view data bind to the model to change the view state?
    Obviously there's never any single correct answer to application architecture questions, but I'd like to know if there's any general best practices that I should follow. I don't want to under-architect OR over-architect my app.  I'm new to Flex programming and would like not to code something egregiously ugly.
    Thanks,
    Cory

    Hi,
    Consider this, there is no such thing as an enterprise level RIA, the whole concept behind thin client was to restrict the enterprise requirements to the backend, that being said if we assume that a flex application is specifically for the client end and can maintain its own state and that MVC frameworks are more about enterprise solutions then the whole framework argument becomes what it is, academic BS.
    <start rant>
    Its really simply, in half a century nothing has changed, you have rules and requirements(model), you have access to that(view) and you wrap it up as a program/application(controller) so  why do you need convoluted multilayer abstraction of functionality to make things work ? maybe so those that can't get a real development job can run around and preach at conferences, how else could they feed their adopted kids.
    So all those nice buzzwords, design patterns(the new age terminology for modular architecture), model/view/controller, borg coding(resistance is futile) is all very fine if you want to act smart but producing quality code actually means you are smart. As you may have guessed I am not a strong proponent of MVC frameworks, and I don't even need to get into the argument that everytime a 'framework' expert gets control of a project that isn't done in their MVC  poison of choice it gets a rewrite, clients really love those associated costs and retesting requirements.
    </end rant>
    You only need 1 framework for flex and thats the flex framework.
    Have a read this blog, the section on MVC and Flex is very interesting if not overly polite.
    http://www.herrodius.com/blog/216
    David

  • ADF Application Architecture

    Hi All,
    I am new to ADF and working with some vendor to transform our in-house Oracle Form Application to ADF Application and we have more than 300 Oracle Forms to translate.
    Basically after the login page, we will have a main menu, and then from the main menu, user can access to different modules (e.g. Customer Profile / Supplier Profile / Order Processing etc..). One of the critical point is that there will different shared variable pass from the main menu to each module and from each module back to the main menu.
    We have successfully translate a few Oracle Form to ADF JSF Application. However, before continue the project, we would like to confirm the application architecture.
    Checking on Oracle Website / different ADF forum, basically they will packaging all their ADF program in 2 different approach.
    Approach (1):
    i) Create a common workspace which put all the common EO, VO, AM, Task Flow Template, Page Template, Skin, etc and export as an ADF Library
    ii) Create different Bounded Task Flow Workspace with its corresponding Model and View Controller for different modules (e.g. Customer Profile / Supplier Profile / Order Processing etc..) and then export as an ADF Library
    iii) Create a master workspace with View Controller to contains an Unbounded Task Flow to tier all the different modules together as an EAR file.
    Approach (2)
    i) Create a common workspace which put all the common EO, VO, AM, Task Flow Template, Page Template, Skin, etc and export as an ADF Library
    ii) Create different workspace with its corresponding Model and View Controller for different modules (e.g. Main Menu / Customer Profile / Supplier Profile / Order Processing etc..) and then export as an EAR file
    From Approach (2), when I need to pass parameter from Main Menu to Customer Profile, since they are from different application, I can only pass it through URL or database. But it seems to be not a very approach. May I know is there other way to passing parameter between different ADF Application ?
    From Approach (1), it seems that the parameter can be passed using the bean since they are under one master workspace. However, from some of the forum said, if there is too many modules (my case is ~ 300 modules, there will be a problem on the CPU, RAM and JVM may not be able to start.
    May I know is it correct from my assumption ? Also may I know which approach should I use ? Thanks !!
    Best Regards,
    Eric

    Hi Timo,
    Thanks for your reply. Yes I have watch the ADF Architecture TV Episode too. But I still cannot figured out which approach I should using. From the video, it said that sum of the parts may risk from the start up of JVM when you have too many application. Pillar architecture can solve that problem however parameter may need to pass through different ADF application since they are compiled as different EAR file. But passing the parameter through URL / database package seems not an excellent idea.
    Moreover, since all those ~300 modules are different and may not related from each other, so it may not be a suitable case to put multiple forms into one ADF application in my case. Also our system have frequently change request from the user and those request are usually handled by different developer. So I guess it may be better to put it in different ADF application instead of putting in a single one.
    Any advice ?  Thanks !
    Eric

  • ERP and CRM Application Architecture Direction

    Not sure if this is out of topic for this forum but it seemed the closest I could find. If it is out of topic could someone please point me in the right direction?
    Im looking for the architectural direction Oracle is taking for their ERP and CRM applications. Specifically as Oracle moves their applications to the Oracle 9iAS application server will Oracle be changing their application architecture to a Service Oriented Architecture (SOA) as other ERP and CRM vendors are? If not what architecture will the Oracle applications follow?
    Phil Montagliano
    Xerox Corporation
    XIM/Technology, Strategy & Architecture
    161 South Chestnut Street Email: [email protected]
    One City Centre / 0875-05B Phone: (585) 423-8831
    Rochester, NY 14604 Fax: (585) 423-4848

    Hi,
    bit confuse about your question. are you looking for techniacal architecture or looking for business prospective?
    Kindly elaborate your question.
    Yogi
    [email protected]

  • Reg: WPC application architecture document

    Hi,
    We are looking for extending the WPC (Portal 7.3) features...
    Is there any documentation around the new WPC (Portal 7.3 )application architecture where we can find the UI classes and services/backend classes api to publish the documents,creation of folders,creation of area and etc..
    We know that below interfaces are available to extend the WPC, but we are looking more than this.
    com.sap.portal.wpc.api.content     
    com.sap.portal.wpc.api.content.handler     
    com.sap.portal.wpc.api.content.provider
    Thanks & Regds,
    JC

    Hi,
    We are looking for extending the WPC (Portal 7.3) features...
    Is there any documentation around the new WPC (Portal 7.3 )application architecture where we can find the UI classes and services/backend classes api to publish the documents,creation of folders,creation of area and etc..
    We know that below interfaces are available to extend the WPC, but we are looking more than this.
    com.sap.portal.wpc.api.content     
    com.sap.portal.wpc.api.content.handler     
    com.sap.portal.wpc.api.content.provider
    Thanks & Regds,
    JC

  • UDS Application Architecture Validation

    Hi Everyone,
    I am curious to find out if there are any tools that can validate the existing UDS application architecture. Especially is there anything within the UDS family - say a UDS parser - that we can use?
    thanks in advance,
    Vamsi.

    There is at least one Consulting tool still in existence that can analyse Forte/UDS code and provide limited feedback on the architecture used, but it focuses more on syntax and things considered to be poor (or risky) coding. As far as I know, it was developed within Forte to assist their Consultants in the field. It requires a fairly high degree of Forte/UDS Architecture knowledge to use correctly and especially to make good use of the results.

  • How to organize  project structure  for big application architecture

    Hi all:
    We prepare to construct a medium erp project using JHeadstart,
    so we have some application system like human resource, accounting, inventory, ...
    What's the best suite to organize application project architecture ?
    we have this issue about application architecture:
    1.how to fulfill large scale application and must to share some common view object and entity object in all application, May we to break the application down into multiple BC4J packae in same project or separate each subsystem in each project folder?

    You can definitely organize your applications into as many packages as makes sense for your overall design.
    You can create and deploye packages of BC4J components in simple *.jar archives and then uses features of JDeveloper to import those shared packaged of components in a read-only mode in projects that need to make use of them.

  • Getting value from portal or bsp application to selection screen parameter

    Daer SDNer's.
                           Is there any possibility of getting value from bsp application and that value to be passed to selection paramater of bw query varaiable.
    concept as follows.
                                    report is based on vendor related information. particular vendor having user id in bsp or portal for accessing reports. if he selects bw query in portal or bsp dash board. that same vendor name or id shoukd be pass to default vendor selection entry in bi... so only that particular vendor details should display.....
    Harikrishna

    Dear Arun,
                      thanks for the reply. can i dynamically get the values to selection parmaters from bsp or else i need to mantain those user ids(vendor name) in bw. could you explain on it. if possible provide some sample code on it.
    Thanks
    Harikrishna N

  • Data Gathering Application - Architecture Question

    I'm working on revising an existing application that's used to collect data gathered by users from various sources (various computer systems, paper files, discussions/interviews with other employees, etc.) which is then used for analysis and reporting of level of compliance with mandates at various levels (overall, location, individual).
    The existing application gathers data via two basic form types: one is for a specific individual having multiple data points; the other is for everyone in the location with multiple data points. For example, type 1 looks like:
    Person
    Question 1 Response 1
    Question 2 Response 2
    Question N Response N
    While the Type 2 form looks like:
    Location
    Person 1 Question 1 Question 2 ... Question N
    Person 2 Question 1 Question 2 ... Question N
    Person N Question 1 Question 2 ... Question N
    The questions are grouped by types of information being analyzed, so that those questions appear on different pages and may apply to different sets of individuals or locations. Not all locations are required to gather information on the same questions, depending on their compliance level last year. So, location A may have to answer questions 1, 2 and 3, while location B may answer questions 1, 3 and 4.
    My question is this: The table used to store the data is structed like:
    Person ID, location, page, q1, q2, ..., qN
    To continue the above example of locations A and B, both locations would store the responses in columns q1, q2, and q3 since they had three questions that applied to them. We can then reconstruct which question the response applies to by checking which questions applied to the location. We're using the apex api in the query to generate select-list items for the questions with the valid responses for each question (some are yes/no, others allow NA, a number 1-3, or a typed-in positive integer for a couple of questions).
    Since we need to maintain the data from two forms (either for an individual or for all individuals at a location), would it be easier to maintain in APEX using a table that stores each question in a separate row?
    PersonID, location, Page, question, response
    Further, we want to simplify the application which currently uses a separate page for each item type which is customized to the max number of questions for that page for the year. Instead we want to make a more generic set of pages that can at least handle an arbitrary number of items or, ideally, however many questions may be applicable in the future. While we can assume that the practical upper limit would be 30 questions, in the future it is possible we could be mandated to ask several times that number, maybe 100 or more.
    The main goal is to make the application robust to handle the questions consistenly, no matter how many are defined for a type and no matter how many are required for the selected individual or location.
    I'm already working on the page simplification process by replacing literals with session-state and application items, and realize that to make the pages robust we'll have to convert from static queries to generating the query from plsql using generic columns for the report in APEX.
    If anyone could share their thoughts/experience with this type of application, your input is greatly appreciated.
    Thanks,
    Richard

    Hi Richard,
    I find it bad practice to make a table PersonId, location, page, q,q1 .. qN
    it will do more harm in analysing the data than you will benefit in collecting the information.
    In my opinion you should normalize it a bit more. Seperate table for Person, with it's attributes. and if it is a 1 to 1 relation, also an locationId. Then a seperate table to hold the location information. Then you are having questions and awnsers. based on compliance level of the location persons may answer these questions. So in my opinion, youre location-table will have an attribute 'compliance_level' and in the question table also an attribute, like minimum compliance level. so this could be an criteria for showing questions or not.
    To register the answers done bij a person, also an awnser-table will be nesseccary, with relation to the specific question and the personId who answer it. Because of the 1 to 1 relation between person and location, this information does not have to be registerd with the anwsers.
    so in short:
    5 tables =>
    Person (id, name, locationId, etc. )
    Location (id, locationName, complianceLevel)
    Question(id, quetion, minCompliance)
    Anwser(id, questionId, personId, answerId)
    In order to create these forms, i guess a master-detail form will be in place. where for one master (person in this case), the details can be shwon (question) in a tabular form with input for the answers.
    hope this will help!

  • Flex Application architecture with web and air interface both using common components.

    We have a flex based e-learning application. It uses HTTP REST service and webservice to communicate with ASP.Net application to fetch and store data.
    We now want to develop an adobe air version of the user interface, which the students can download on their desktop as well as mobiles (Android, others).
    What would be a good architecture for such an application which has both web and windows interface. I can see that we can reuse almost 80% of the code of our web version. But I do not want to copy and create a new windows app from the flex web app. I would want to have both co-exist.
    Let me know a good article that I can read on this.

    I dug deeper and found the concept of Shared Common Library. I am trying to implement that.

  • Application architecture in secure environment

    Hello,
    I am currently designing an enterprise application that will use a DBMS back-end. My environment has the DBMS and Web (Tomcat) servers sitting inside a very strict firewall, allowing only port 80 access. I need to know what is the best architecture to use for my application, given the several tiers and the firewall.
    Should I use a 3-tier, with the DBMS being 1 tier, the business logic in a servlet, helping circumvent the firewall, and the UI in an applet and/or HTML/JSP page?
    Thanks,
    haighaig

    You first have to have a look at the security policies
    so you can see what restrictions your company has.
    These policies and the requirements of the busines-
    case reflect the architecture you design. From a tech-
    point of view, you can have from 1 to a lot of tiers...
    If you are using a DBMS, Tomcat and Apache and your only restriction is the port 80. So you integrate
    Tomcat into apache and apache then forwards the
    requests to tomcat what is kept within the server. It
    is again a question of your policies and business
    requirements (performance, scalability, availabilit
    etc) how your DB-server looks like and where you place
    it. While using JSP and servlets, you can talk to any
    DB-server reachable by the network.
    The use of applets has as well be dicsussed and
    depends on your target audience, because some
    companies drop applets with the firewall and these
    people can in this case not profit from your web-
    application.

  • How to determine application architecture in terminal

    I'm wondering how Finder determines on which architecture an application is able to run.
    Using ditto --arch it is possible to extract PPC, PPC64 and i386 from a Mach-O application.
    But HOW can Finder tell that an application ist Classic ? Or is it also possible to determine Motorla 68000 architecture in old classic fat binarys ?
    I'm interested in that because I've got an iMac Core Duo that does not support classic any more and I want to find all classic apps on all my Fire Wire harddrives.
    thanks in advance
    Michael
    iMac Core Duo 20"   Mac OS X (10.4.5)  

    Hi Michael,
       The UNIX utility, "file" can distinguish between Cocoa and Carbon apps in many cases. Carbon apps usually return "header for PowerPC PEF executable". Compiled objective C, C++, and C executables return "Mach-O executable <Architecture>". Compiled Java classes return "compiled Java class data". Carbon apps for MacOS X return the same thing as classic applications. While they are almost the same thing, there are differences and I don't know how to spot them.
       Of course Cocoa applications are usually inside application bundles and if you apply the "file" utility to the containing directory, you will of course get an answer of "directory". You must apply file to the executable inside the bundle. The main one is always inside the Contents/MacOS subdirectory and always has the same name as the bundle, minus the ".app" suffix.
    Gary
    ~~~~
       I worked in a health food store once. A guy came in and
       asked me, "If I melt dry ice, can I take a bath without getting
       wet?"
             -- Steven Wright

  • Application Architecture Suggestions

    Hi,
    I'm currently writing a library/application which will integrate with a number of systems. The application will be used by other systems to generate HTML forms, for which there are definitions stored in a database, and to store the information saved in the form by system users.
    I'm new to Java EE and was wondering if anybody could point me in the general direction of technologies (or architecture) which I should be using (I'll define some rules bellow for what is required) and to suggest tools which I could use. I'm currently using JBoss AS 1.5 along with the JDK 1.6, MySQL 1.5 and Eclipse for an IDE.
    Here are some requirements for the system:
    - Must have a web interface to allow users to define a form (which will be stored in a database)
    - Must be able to dispense forms for use within a system
    - Must either be hosted in the application (i.e. a code library + database hosted in a system) or be a stand alone application which has its own database and which can tightly integrate with a system)
    - Must appear to the user that the form is tightly integrated in the system (e.g. looks the same, does not need to open in a pop-up window...)
    - Must be able to populate form fields with information stored in the system (I was thinking of web services for this part)
    - Must be able to store information entered in form in the system (e.g. a date of birth...) (Again I was thinking of web services for this part)
    I could do with some suggestions on possible architectures of how this should all fit together.
    I know this is a big ask but I'm close to giving up because I'm not sure where to start.
    Thanks in advance,
    J.Love

    J.Love wrote:
    Hi,
    I'm currently writing a library/application which will integrate with a number of systems. The application will be used by other systems to generate HTML forms, for which there are definitions stored in a database, and to store the information saved in the form by system users.
    I'm new to Java EE and was wondering if anybody could point me in the general direction of technologies (or architecture) which I should be using (I'll define some rules bellow for what is required) and to suggest tools which I could use. I'm currently using JBoss AS 1.5 along with the JDK 1.6, MySQL 1.5 and Eclipse for an IDE.
    JBoss AS 1.5? You should at least be on 4.2.x or 5.x.
    Here are some requirements for the system:
    - Must have a web interface to allow users to define a form (which will be stored in a database)Pick a MVC framework of your choosing. Spring MVC, JSF 2.0, Grails, etc. When you say "users to define a form". What does that mean? That users will drag and drop UI elements in a designer and then publish a web form for others to use?
    - Must be able to dispense forms for use within a systemAgain, I'm not clear on what you mean here.
    - Must either be hosted in the application (i.e. a code library + database hosted in a system) or be a stand alone application which has its own database and which can tightly integrate with a system) JBoss can handle this for you. Package everything appropriately as a WAR or EAR, preferably with a build tool such as Ant or Maven.
    - Must appear to the user that the form is tightly integrated in the system (e.g. looks the same, does not need to open in a pop-up window...)Again, is this a form the user has designed or simply one the user uses that you have designed?
    - Must be able to populate form fields with information stored in the system (I was thinking of web services for this part)Information stored in a system can be the filesystem or a database or a network resource somewhere else. The web service part is simply how clients will invoke your services. (Do a search on service-oriented architecture). Personally, I would opt not for a web service but for something simpler, like REST.
    - Must be able to store information entered in form in the system (e.g. a date of birth...) (Again I was thinking of web services for this part)
    Separate the protocol and format you are using (e.g., web service SOAP, JSON over REST, XML over HTTP POST, etc.) from the requirement for storage. You will generally have a controller receive a request and forward to a service (or have the service receive the request if there is no UI) and then delegate to a data access object to fetch and store data. See the MVC pattern generally and data access object pattern specifically.
    I could do with some suggestions on possible architectures of how this should all fit together.
    See the above. MVC is your first high-level separation. Then you likely want a service tier (see SOA). If you think it is merited, you can implement your service and controller tiers with the Command pattern, though this is optional. Don't worry so much about protocols and standards. Get things working first. Then worry about how clients will communicate with you.
    I know this is a big ask but I'm close to giving up because I'm not sure where to start.
    Hence, take it in small pieces. Get things working in memory. Then save things to the database. Then accept requests to do so from a web page. Then start choosing how you want things to work as a whole. If you are totally stuck, bottom-up often works. At some point, you will have to revisit things and go top-down. There's no right or wrong answer, just start coding and have an idea in your head (or on a napkin) of how things should flow and work. Use bubbles and arrows and nouns and verbs. Then translate those one at a time into working code. Wash, rinse, repeat.
    Thanks in advance,
    J.LoveBest of luck.
    - Saish

Maybe you are looking for

  • Upgrading eBS 12.1.1 - 12.1.3, adpatch hangs on AR_GTA_CONSOL_TEMP.xdf

    Hi all, Having just successfully upgraded my eBS environment from 12.0.6 -> 12.1.1, I'm now trying to get from 12.1.1 to 12.1.3. I'm running patch 9239090, and everything was running just fine, till it hit AR_GTA_CONSOL_TEMP.xdf. My upgrade has been

  • IPhone gift: Can I restore from backup without her knowing?

    Hi I have bought a new iphone 5S for my wife's Christmas present. I know her Apple ID and so I know that I can restore from iCloud backup However.... Can I download the iCloud data to her new phone without her knowing OR without it deleting the conte

  • How do I get a transparent background in my Illustrator file?

    I'm relatively new to Illustrator, (I'm working in CS4) and created a corporate logo for one of my clients.  When I place the logo into Photoshop or InDesign, the logo is in a white box.  How can I make the background transparent in the original Illu

  • Combining user Keychain with login Keychain

    Just recently did a Erase and Install upgrade to Leopard on my G5 and restored my previous Keychain Access data via Backup and my MobileMe account. This has created a separate Keychain file in my user/Library/Keychain folder with my user name, result

  • Blu-ray burning converts 5.1 audio to 2.0.  Why?

    When burning a Blu-Ray disk with 5.1 audio, the audio is converted to 2.0. Attempting to create self-contained quicktime files and bringing them directly into compressor still fails to keep the 5.1 audio. Has anyone else experienced this?