Conversion of Java Web Project to Angular with Java [closed]











up vote
0
down vote

favorite












I have a Java web project with JSP as frontend and Java for backend. I want to convert this project to Angular Frontend and Java backend. I tried googling but didn't get anything. I am really stuck on how to do this.



Can anyone tell how can I achieve this?










share|improve this question













closed as too broad by Basil Bourque, Billal Begueradj, Raedwald, Sahil Mahajan Mj, GhostCat Nov 19 at 7:49


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.



















    up vote
    0
    down vote

    favorite












    I have a Java web project with JSP as frontend and Java for backend. I want to convert this project to Angular Frontend and Java backend. I tried googling but didn't get anything. I am really stuck on how to do this.



    Can anyone tell how can I achieve this?










    share|improve this question













    closed as too broad by Basil Bourque, Billal Begueradj, Raedwald, Sahil Mahajan Mj, GhostCat Nov 19 at 7:49


    Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a Java web project with JSP as frontend and Java for backend. I want to convert this project to Angular Frontend and Java backend. I tried googling but didn't get anything. I am really stuck on how to do this.



      Can anyone tell how can I achieve this?










      share|improve this question













      I have a Java web project with JSP as frontend and Java for backend. I want to convert this project to Angular Frontend and Java backend. I tried googling but didn't get anything. I am really stuck on how to do this.



      Can anyone tell how can I achieve this?







      java angular jsp java-ee






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 19 at 4:28









      Jasey

      145




      145




      closed as too broad by Basil Bourque, Billal Begueradj, Raedwald, Sahil Mahajan Mj, GhostCat Nov 19 at 7:49


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.






      closed as too broad by Basil Bourque, Billal Begueradj, Raedwald, Sahil Mahajan Mj, GhostCat Nov 19 at 7:49


      Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.


























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          You can change your project to MVC structure. May be you have separate service layer in your current project. Try to implement Controller layer. It will be better If you use REST controller. REST API is more suitable for Angular. You need to change bindings with JSP UI. Try to convert it with REST controller. And make service layer and dao layer separate. So Structure will be like this:



          UI->Controller -> Service->Dao



          I dont know your project is spring based or not. If spring based then you can covert your project with Spring boot project. There are many sample is now currently available for Spring based project.



          If your project is not spring based you just need to implement REST API to your codebase and remove JSP bindings.






          share|improve this answer




























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            You can change your project to MVC structure. May be you have separate service layer in your current project. Try to implement Controller layer. It will be better If you use REST controller. REST API is more suitable for Angular. You need to change bindings with JSP UI. Try to convert it with REST controller. And make service layer and dao layer separate. So Structure will be like this:



            UI->Controller -> Service->Dao



            I dont know your project is spring based or not. If spring based then you can covert your project with Spring boot project. There are many sample is now currently available for Spring based project.



            If your project is not spring based you just need to implement REST API to your codebase and remove JSP bindings.






            share|improve this answer

























              up vote
              1
              down vote



              accepted










              You can change your project to MVC structure. May be you have separate service layer in your current project. Try to implement Controller layer. It will be better If you use REST controller. REST API is more suitable for Angular. You need to change bindings with JSP UI. Try to convert it with REST controller. And make service layer and dao layer separate. So Structure will be like this:



              UI->Controller -> Service->Dao



              I dont know your project is spring based or not. If spring based then you can covert your project with Spring boot project. There are many sample is now currently available for Spring based project.



              If your project is not spring based you just need to implement REST API to your codebase and remove JSP bindings.






              share|improve this answer























                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                You can change your project to MVC structure. May be you have separate service layer in your current project. Try to implement Controller layer. It will be better If you use REST controller. REST API is more suitable for Angular. You need to change bindings with JSP UI. Try to convert it with REST controller. And make service layer and dao layer separate. So Structure will be like this:



                UI->Controller -> Service->Dao



                I dont know your project is spring based or not. If spring based then you can covert your project with Spring boot project. There are many sample is now currently available for Spring based project.



                If your project is not spring based you just need to implement REST API to your codebase and remove JSP bindings.






                share|improve this answer












                You can change your project to MVC structure. May be you have separate service layer in your current project. Try to implement Controller layer. It will be better If you use REST controller. REST API is more suitable for Angular. You need to change bindings with JSP UI. Try to convert it with REST controller. And make service layer and dao layer separate. So Structure will be like this:



                UI->Controller -> Service->Dao



                I dont know your project is spring based or not. If spring based then you can covert your project with Spring boot project. There are many sample is now currently available for Spring based project.



                If your project is not spring based you just need to implement REST API to your codebase and remove JSP bindings.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 19 at 4:52









                flopcoder

                590311




                590311















                    Popular posts from this blog

                    Ottavio Pratesi

                    Tricia Helfer

                    15 giugno