Solved

Best practice project/folder structure

Posted on 2008-10-17
1
3,091 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 500 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Flex automation silktest 3 915
Flex Adobe Flex Connector for MS SQL Server - calling stored procedure with parameters 3 1,213
Flex Mobile - update/refresh current view 7 1,249
rebuild swf 5 457
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…
We need a new way to communicate time sensitive or critical info.   The best part of my role at xMatters is visiting our clients all over the world to learn about how they operate their businesses, share insights that xMatters has gleaned across…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now