Architecture Java EE ? many ressources : database, xml -
i have java application , want make web app. think how make architecture of app.
in fact, have many resources, matlab, exe files , xml files , mysql database. have 3-tier architecture.
client: browser
treatment: java ee server (maybe servlet , ejb container)
data: matlab, exe files , xml files , mysql database
so, how can create application without having problem if have several clients connected sends many queries @ same time?
knowing processing calling exe , reading , writing xml files, , execute matlab.
more details
input -ressource-> output
image(query) -exe-> xml
xml -jdom-> java objects (list)
java objects -jdom-> n xml files
n xml files -jdom-> txt files
txt files -matlab-> txt files
txt files -mysql-> java objects (list)
txt files --> images (results)
this pretty broad question. keep answer @ high level , can dig deeper have more questions.
initially how structure application.
- pick mvc framework. pick jsf2 else fine too. view , controller layer defined here.
- create 3 dao classes @ bare minimum - 1 reading data xml, 1 reading data mysql, , 1 reading text files. parse xml files can use xpath , ofcourse sqls data database.
- create mdb asynchronously kick off exe process via jms.
- package application ear file.
tools can use:
- eclipse ide
- jboss-as (or other container have access to)
- some sort of build/packaging tool (ant, maven, etc)
i not familiar image manipulation can't comment on part. however, think need break down design various components first. that's why started listing ones think of without enough details. image query 1 of components. try create black box diagram of system each major component in & out. after start developing each of them , bet lot more folks here can more specific questions. make sense?
Comments
Post a Comment