Hello,
Suppose
Public interface MessageService{}
@Component
@Service
public class MessageServiceImpl implements MessageService{}
Getting the service in JSP
----------------------------------------
<%
com.example.service.MessageService msgService = sling.getService( com.example.service.MessageService.class);
%>
same way, How can i get service in HTL ?