top | item 35904685

(no title)

techaqua | 2 years ago

> nextjs is not js..... same way spring boot is not java

does spring boot bring it's own dsl and compiler?

discuss

order

ElectricalUnion|2 years ago

Kinda, as usual within Javaland, there's a lot of reflection involved into making annotated interfaces (a kinda of standard Java reasonably limited dsl capabilities) pop up as singletrons connecting to your database/OLAP/LDAP/REST-endpoints/websocket-clients/whatever.

Same thing for serialization things, you define interfaces, the actual classes often just pop into existence by generated bytecode.

It's also not unknown to bring JSP/EL (literally requires a Java Compiler embedded in your server to compile servlet objects for you on the fly) or some other, on purpose less fully featured template things with their own DSLs like Thymeleaf to do the same job.