Skip to content
Snippets Groups Projects
Commit b368d169 authored by Fakhri Mahendra's avatar Fakhri Mahendra
Browse files

chore: add .dockerignore

parent ce94104d
Branches
No related merge requests found
.git
db
target
\ No newline at end of file
package edujin;
import edujin.service.ResetPasswordService;
import edujin.service.TestService;
import edujin.util.HibernateUtil;
import javax.xml.ws.Endpoint;
public class Main {
public static void main(String[] args) {
HibernateUtil.getSessionFactory();
try {
Endpoint endpointTest = Endpoint.create(new TestService());
endpointTest.publish("http://0.0.0.0:8001/test/apiw");
Endpoint endpointReset = Endpoint.create(new ResetPasswordService());
endpointReset.publish("http://0.0.0.0:8001/reset");
System.out.println("Server started");
} catch (Exception e) {
System.out.println("Server failed: " + e);
}
}
}
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment