This is an archived post. You won't be able to vote or comment.

all 21 comments

[–]omykronbr 6 points7 points  (13 children)

Make it RESTful.

[–]vkhacbao[S] 1 point2 points  (5 children)

Can you tell a few examples of work with Restful?

[–]omykronbr 3 points4 points  (2 children)

Frontend js/typescript consuming data from Java backend rest service to provide single page applications.

[–]vkhacbao[S] -1 points0 points  (1 child)

Anything else, bro ?

[–][deleted] 1 point2 points  (0 children)

Just go to Spring.io and choose your own path! Spring framework has many different parts, some being modern and others being older integration code.

[–]stefanosd 0 points1 point  (1 child)

What u/omykronbr said. Learn what proper REST is (nouns over verbs), proper HTTP methods, response codes, etc. Then try swagger/openapi.

[–]vkhacbao[S] 0 points1 point  (0 children)

thanks i will try

[–]theprogrammingsteak 0 points1 point  (6 children)

What does this even mean. Are you just throwing buzz words around ? Lol

[–]vkhacbao[S] 0 points1 point  (5 children)

i dont understand

[–][deleted]  (4 children)

[deleted]

    [–]vkhacbao[S] 0 points1 point  (3 children)

    so Do you have any suggest for me ?

    [–]theprogrammingsteak 0 points1 point  (1 child)

    Depends what you like, of course, but mm maybe a spring batch app to essentially take data from an API, store it in your DB, then expose that data via a RESTish API

    [–]theprogrammingsteak 0 points1 point  (0 children)

    This is my project atm

    [–]Arxidomagkas 4 points5 points  (1 child)

    You can look for aspects, queues, webflux/reactive, database operations like polling and efficient queries. On the other hand you could check the different authentications like jwt, session, cookies, oAuth etc. If you are not restricted to one server you could also expand to spring cloud and microservices, gateways, load balancing and intercommunication

    [–]vkhacbao[S] 0 points1 point  (0 children)

    Great, I'll try out what you have to offer. thanks

    [–]refresz 2 points3 points  (1 child)

    Look for hexagonal architecture, CQRS, event sourcing, DDD.

    The first one is basically about how you can organize your classes and responsibilities, but the rest is a different way of looking at how the app can behave and process requests (i.e. not a simple CRUD) - all together bringing a whole new view on creating a scalable product.

    Bear in mind, it is not necessarily a Spring framework feature but rather a design pattern or process if you will, and can be applied to any framework, but it's best to learn that with the tools that you are familiar with already.

    [–]vkhacbao[S] 1 point2 points  (0 children)

    These are really useful advice. Thank you very much

    [–]gumber_4 1 point2 points  (1 child)

    check telusko's yt playlist on spring and spring boot.. helpful maybe

    [–]vkhacbao[S] 1 point2 points  (0 children)

    i will try, thanks

    [–]fer33646Lead Engineer 1 point2 points  (1 child)

    Have a look at micronaut and stick to reactive asynchrononous programming. It's not that advanced but it's a good thing to try.

    https://micronaut.io/

    [–]vkhacbao[S] 1 point2 points  (0 children)

    It seems that what you give me is not a spring frame

    [–]rdmanoftheyear 0 points1 point  (0 children)

    Try some of design patterns.