Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Best practice project/folder structure

Posted on 2008-10-17
1
Medium Priority
?
3,104 Views
Last Modified: 2012-05-05
Combined Flex and Java Web Project

Can anyone provide any examples or suggest how to organise a combined Java Web and Flex(Builder) based project, so I can deploy my Flex and the backed Java services/servlets in one project and deploy with one WAR file.
0
Comment
Question by:Jonesey007
1 Comment
 
LVL 4

Accepted Solution

by:
ngiamouris earned 2000 total points
ID: 22770968
You could use the standard "maven" directory structure for the server side and standard flex builder structure for the client. e.g.

project root
- server
  - src
    - main
      - java
      - resources
      - webapp
    - test
      -...
- client
  - src
- build
- dist

Your ant scripts could then compile everything and assemble the .war in the dist directory.

Personally, I wouldn't go for the client/server combined project though. I know that in the end it all comes down to personal preference BUT given the fact that Flex Builder can get too slow on its own combined with how unpredictable eclipse can get when too many plugins kick in does it for me.
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
Simulator games are perfect for generating sample realistic data streams, especially for learning data analysis. It is even useful for demoing offerings such as Azure stream analytics, PowerBI etc.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Loops Section Overview
Suggested Courses

963 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question