Why would I break my Java web application into two repositories on git? -
okay, need clarification, don't want mean , i'm not use idea.
i have been requested work team , build java web application links multiple api's. why not use sort of framework (spring,mvc,jsp,etc.)? instead asked design web pages , place them 1 git repository, design back-end of application , add repository. integrate 2 (i'm not sure how, might losing me) normal/should doing this?
it makes perfect sense separate backend frontend since deployed separately, on different machines, , produce 2 different artifacts (a jar file , bunch of html pages). if using maven consider have parent project , split backend , frontend in 2 different modules. regarding git explore submodules feature or create 2 different folders within same repository. prefer former. regarding integration, backend expose rest endpoint , frontend perform ajax calls interact.
Comments
Post a Comment