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

Similar Messages

  • 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.

  • 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.

  • 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.

  • Application Architecture - Any Suggestions?

    I am in the process of setting up a wireless application sandbox, and a few things are unclear to me. What does the architecture / configuration look like between the 9i WE the Wap Gateway and the Wireless Network. How is the Wap Gateway found from the Wireless Network? Where is that configuration registered?
    Oracle documentation says that 9i WE has been tested with the Infinite Technologies WAPLite Wap Gateway. Is this a good starting point? Or are there better Wap Gateways available?
    For those that have gone through the steps of configuring 9i WE internally, and made it accessible via Wireless Networks - Do you have any advice / suggestions?
    Any Thoughts?
    Thanks,
    Jeff

    You can read more about the support of messaging drivers in the following topic:
    Re: MMSC service Providers
    If you would like to read more about integration with 3rd party products please refer to:
    http://otn.oracle.com/tech/wireless/integration/index.html
    It is possible to configure messaging clients and WAP gateways for OTA provisioning.
    Rgds,
    Thomas

  • 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

  • Let's discuss my application architecture,and give me your opinions

    hello
    we have several internal systems that are within the same lan and want to communicate with several external systems that may be in the other buildings by using the release line.i am now considering the architecture for the project,and have got an immature blueprint,please help me to make it more perfect by give me your opinions,the scenario as:
    within the lan,there are several systems that are developed by using different languages,let's suppose they are two(named internal1 and internal2),the two systems need to communicate with other two external systems(named external1 and external2) that are also developed by using different languages.all of the communications are bi-direction.there are several combinations:
    1 internal1 <--> internal2
    2 internal1 <--> external1 or external2
    3 internal2 <--> external1 or external2
    in my project,the timelimit is critical,as short as possible.
    according to the mentioned requirements,i decide to develop a infomation exchanging platform by using java which sit in the MIDDLE of the internal and external systems and WITHIN the lan,act as information dispatcher or coordinator,both of the internal system and external system communicate with it only.considering the multi-language and time-critical feature,i choose the way of socket communication among the systems and design a set of xml format internal protocol.otherwise,i think the message middleware are also needed within my project as message buffer.when i deepen into the detailed designing,i get some confusions,let us discuss them as followiing:
    1 if is the socket the good solution for my project?how can i assign the ports?because of the introduction of the information exchanging platform into my project,the communication combination is simplified to "internal system<-->info exchange platform" and "external system<-->info exchange platform",the crucial point for the port designing is how to assign the port in the info exchange platform,that is SERVER socket port.in my designing,i plan to assign different port for each subsystem.thus,the devleopment to the info exchange platform is simplified,that is:when the message comes,i don't need to analyse the xml message to check which system it comes from.but some people suggest me to open ONE port to all the internal systems,and ANOTHER port to all the external sysetms.i don't know which solution is better?if are there some regulations that concern about the socket port assigning?
    2 if is the information exchanging platform needed?some one suggest that subsystems can communicate with each other directly,
    the coordinating platform is not needed.but i think,from the EAI point of view,there should be a adapter between the internal system and external system.
    3 where should i put the message queue server?and if is the mom needed?i plan to use the mq between the exchange platform and external systems ONLY,and it is also within the lan,in my designing,i config two queue for EACH external system,one for incoming message and other for outgoing message,to each queue,i assign a message listener to execute different operations on its "onMessage" method,that is:when the message come from internal system,the exchange platform send them to the exact OUTGOING queue according to the destination of the message,then the listener of the queue call the socket of the according external system and send the message to it.otherwise,when the external system need to send the message to internal system,it call the exact socket port in the exchange platform that is assigned to it as mentioned above,the platform accept the msg,and send them to the exact incoming queue,then the listener deal with the msg and send them to the internal destination.in this solution,i put the mq behind the socket,but someone give me another suggestion,that is i directly put the message queue between the exchange platform and the external systems instead of using the socket as the front-end,all of them send the message to the queue and listen the queue,but i think,in such solution,the external system must listen the queue REMOTELY,is it a good way?
    also,somebody tell me that the exchange platform and remote external system can communicate each other DIRECTLY by socket,the message queue is not needed,i don't make sure if the mq is necessary in my situation?and what is the benefit and disadvantage?
    as for the communication between the internal system and info exchange platform,i think the mq is NOT needed,they can communicate each other directly by socket,furthermore,in my designing,i make them connect to each other FOREVER,that is i don't close the socket after each message transferation,as mentioned above in the issue of the socket assigning,every port in the exchange platform is DEDICATED,that means the port is specific to each system,so that they don't need to create and close socket connection frequently,that will make the program more performant,but if i use one port to listen all the internal system,then the socket must be closed by the end of each transferation because of the block problem,that is just another reason why i use dedicated port connection to each of the internal system.
    4 the another question is the secure issue accompanying by the socket,i think i needn't consider such problem in the internal connection,but to the connection between the platform and external system,the issue become preeminent,that is i must open the socket port in the firewall.but i think the connection between the lan and the external system use special line,not by internet,i wonder if the secure probem is critical in such situation?otherwise,i remember that some kinds of product from visibroker company can solve the firewall socket problem by using the http channel protocol,but i don't remember its name for sure,it seem like is called something gateway.who used such kind thing?and tell me how does it work?

    hello
    we have several internal systems that are within the same lan and want to communicate with several external systems that may be in the other buildings by using the release line.i am now considering the architecture for the project,and have got an immature blueprint,please help me to make it more perfect by give me your opinions,the scenario as:
    within the lan,there are several systems that are developed by using different languages,let's suppose they are two(named internal1 and internal2),the two systems need to communicate with other two external systems(named external1 and external2) that are also developed by using different languages.all of the communications are bi-direction.there are several combinations:
    1 internal1 <--> internal2
    2 internal1 <--> external1 or external2
    3 internal2 <--> external1 or external2
    in my project,the timelimit is critical,as short as possible.
    according to the mentioned requirements,i decide to develop a infomation exchanging platform by using java which sit in the MIDDLE of the internal and external systems and WITHIN the lan,act as information dispatcher or coordinator,both of the internal system and external system communicate with it only.considering the multi-language and time-critical feature,i choose the way of socket communication among the systems and design a set of xml format internal protocol.otherwise,i think the message middleware are also needed within my project as message buffer.when i deepen into the detailed designing,i get some confusions,let us discuss them as followiing:
    1 if is the socket the good solution for my project?how can i assign the ports?because of the introduction of the information exchanging platform into my project,the communication combination is simplified to "internal system<-->info exchange platform" and "external system<-->info exchange platform",the crucial point for the port designing is how to assign the port in the info exchange platform,that is SERVER socket port.in my designing,i plan to assign different port for each subsystem.thus,the devleopment to the info exchange platform is simplified,that is:when the message comes,i don't need to analyse the xml message to check which system it comes from.but some people suggest me to open ONE port to all the internal systems,and ANOTHER port to all the external sysetms.i don't know which solution is better?if are there some regulations that concern about the socket port assigning?
    2 if is the information exchanging platform needed?some one suggest that subsystems can communicate with each other directly,
    the coordinating platform is not needed.but i think,from the EAI point of view,there should be a adapter between the internal system and external system.
    3 where should i put the message queue server?and if is the mom needed?i plan to use the mq between the exchange platform and external systems ONLY,and it is also within the lan,in my designing,i config two queue for EACH external system,one for incoming message and other for outgoing message,to each queue,i assign a message listener to execute different operations on its "onMessage" method,that is:when the message come from internal system,the exchange platform send them to the exact OUTGOING queue according to the destination of the message,then the listener of the queue call the socket of the according external system and send the message to it.otherwise,when the external system need to send the message to internal system,it call the exact socket port in the exchange platform that is assigned to it as mentioned above,the platform accept the msg,and send them to the exact incoming queue,then the listener deal with the msg and send them to the internal destination.in this solution,i put the mq behind the socket,but someone give me another suggestion,that is i directly put the message queue between the exchange platform and the external systems instead of using the socket as the front-end,all of them send the message to the queue and listen the queue,but i think,in such solution,the external system must listen the queue REMOTELY,is it a good way?
    also,somebody tell me that the exchange platform and remote external system can communicate each other DIRECTLY by socket,the message queue is not needed,i don't make sure if the mq is necessary in my situation?and what is the benefit and disadvantage?
    as for the communication between the internal system and info exchange platform,i think the mq is NOT needed,they can communicate each other directly by socket,furthermore,in my designing,i make them connect to each other FOREVER,that is i don't close the socket after each message transferation,as mentioned above in the issue of the socket assigning,every port in the exchange platform is DEDICATED,that means the port is specific to each system,so that they don't need to create and close socket connection frequently,that will make the program more performant,but if i use one port to listen all the internal system,then the socket must be closed by the end of each transferation because of the block problem,that is just another reason why i use dedicated port connection to each of the internal system.
    4 the another question is the secure issue accompanying by the socket,i think i needn't consider such problem in the internal connection,but to the connection between the platform and external system,the issue become preeminent,that is i must open the socket port in the firewall.but i think the connection between the lan and the external system use special line,not by internet,i wonder if the secure probem is critical in such situation?otherwise,i remember that some kinds of product from visibroker company can solve the firewall socket problem by using the http channel protocol,but i don't remember its name for sure,it seem like is called something gateway.who used such kind thing?and tell me how does it work?

  • Complex Webdynpro application architecture on JAVA WAS

    Hello,
    I am planning to develop quite complex application with Webdynpro presentation layer. I'm not so sure in j2ee technologies but I have some experience but only from quite simple applications mostly which shows some issue in j2ee programming model. I want to run my application on Java stack of WAS and underlying DB. In my DB model there is cca. 40 tables. So I'm now looking for some choice of overal architecture. I'm thinking about that there will be on bussiness layer Stateless session bean(s) which will be wrap almost all functionality and I plan to access database from bussines methods (directly or probably through some other wrapper class through openSQL/jdbc).
    My question is if can anyone advice me if this architecture is good or not. I was thinking about object persistence too (mainly JDO) but in my count of tables seems it to me as really hard work, and with entity beans I haven't so much experiences. When to use JDO and when jdbc acces ?
    Secondly I want to ask this:
    I am used to program in java in jdbc to regular database (mysql, oracle) and there I am able to create my DB tables and so on through script generated from modeling tool. Is this can be in Java Dictionary ? or I have to click my tables in Java Dictionary Perspective. And how can I set foreign key constraints in Java Dictionary Perspective ? is it posible ? or I have to check reference integrity each time I use Insert, Update, Delete commands ?
    I know this is quite many question at once, but I will be glad if anyone can answer any of that.
    Best Regards,
    Miroslav Koskar

    Miroslav,
    Your application seems to reach "critical mass" of business objects involved. If you can -- go ahead with CAF.
    Any other approach will work too -- be it either Entity EJB with session facade or JDO (directly / indirectly exposed). But...
    You'll will have to create plain JavaBeans for DTO in case of EJB... Even with JDO you'll have to track CUD operations in CRUD differently hence repeating work that CAF team already did. Next you'll have to create JavaBean models for your objects (thought, not a rocket science till time of model upgrades). Next you'll have to tweak this model to use types from data dictionary... And, again, this is provided with CAF out of the box...
    Your second question is actually minor one -- using DDIC is possible with either approach and referntial integrity will be preserved with either technology.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

Maybe you are looking for

  • Auto adjust brightness ... can it be reversed?

    I cant remember if i had this problem with Snow Leopard. Not sure if this is a Lion issue or my new MBA either. The auto adjust brightness seems to adjust the screen brightness to low in bright light and high in low light. I would like it reversed as

  • Budget Control: CJ30

    Hi Experts I use CJ30 for original budget proposal by project manager and CJ32 for release by Top Management. Once after allocation of budget using transaction CJ30, subsequent additions or deletions shall be carried out using budget updates only (su

  • Configure Distribution.error

    When I try to configure distribution for replication, I get an error stating that it cant connect to local host and that I need to connect using the computer name.  The thing is, I am ALREADY connecting using the computer name!  SQL was installed, an

  • Hard disk drive error

    i found an error in the disk utility concerning my HDD so ran a hardware test using the original install disk. it came up with the error 4MOT/1/40000003:HDD and i'm assuming that means my hard drive is close to death? has anyone got advice on what to

  • Location of Windows 8 Start Screen shortcuts in the file system

    Hi, Where are the shortcuts or the apps the shortcuts are pointing to on the Start Screen found in the file system? They must exist somewhere other than the Start Screen but I cannot find them. Ultimately I need this data so I can write a vbscript th