r/javahelp • • Jun 10 '20

SPRING FRAMEWORK

I am learning spring framework, after a few months of trying, I also started building projects like CRUD, registration, login authentication, paypal payment, chat using socket. Now I am looking for something new and more advanced. I have searched google many times but it still revolves around basic CRUD functions or it may be because I do not know the search keyword. Any other suggestions for me? Thanks📷

18 Upvotes

21 comments sorted by

8

u/omykronbr Jun 10 '20

Make it RESTful.

2

u/vkhacbao Jun 10 '20

Can you tell a few examples of work with Restful?

5

u/omykronbr Jun 10 '20

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

0

u/vkhacbao Jun 10 '20

Anything else, bro ?

2

u/[deleted] Jun 10 '20

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.

1

u/stefanosd Jun 10 '20

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

1

u/vkhacbao Jun 10 '20

thanks i will try

1

u/theprogrammingsteak Jun 10 '20

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

1

u/vkhacbao Jun 11 '20

i dont understand

0

u/[deleted] Jun 11 '20

[deleted]

1

u/vkhacbao Jun 11 '20

so Do you have any suggest for me ?

1

u/theprogrammingsteak Jun 11 '20

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

1

u/theprogrammingsteak Jun 11 '20

This is my project atm

5

u/Arxidomagkas Jun 10 '20 edited Jun 10 '20

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

1

u/vkhacbao Jun 10 '20

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

3

u/refresz Jun 10 '20

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.

2

u/vkhacbao Jun 10 '20

These are really useful advice. Thank you very much

2

u/gumber_4 Jun 10 '20

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

2

u/vkhacbao Jun 10 '20

i will try, thanks

2

u/fer33646 Lead Engineer Jun 10 '20

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/

2

u/vkhacbao Jun 10 '20

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

1

u/rdmanoftheyear Jun 10 '20

Try some of design patterns.