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.

  1. pick mvc framework. pick jsf2 else fine too. view , controller layer defined here.
  2. 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.
  3. create mdb asynchronously kick off exe process via jms.
  4. package application ear file.

tools can use:

  1. eclipse ide
  2. jboss-as (or other container have access to)
  3. 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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -