Compare commits

...

2 Commits

Author SHA1 Message Date
4fbd462714 fix 2026-04-17 00:11:06 +02:00
d4502eb762 update sem 2026-04-17 00:11:02 +02:00
3 changed files with 3 additions and 3 deletions

View File

@@ -92,7 +92,7 @@
packages = with pkgs; let packages = with pkgs; let
fmtNum = strings.fixedWidthNumber 2; fmtNum = strings.fixedWidthNumber 2;
fmtReleaseName = sem: author: chap: "${fmtNum sem} - ${fmtNum chap} - ${author.lastName}, ${author.firstName}.pdf"; fmtReleaseName = sem: author: chap: "${fmtNum sem} - ${fmtNum chap} - ${author.lastName}, ${author.firstName}.pdf";
fmtRelease = fmtReleaseName 3 { fmtRelease = fmtReleaseName 4 {
firstName = "Linus"; firstName = "Linus";
lastName = "Nagel"; lastName = "Nagel";
}; };

View File

@@ -12,7 +12,7 @@ public class Client {
InitialContext ctx = new InitialContext(props); InitialContext ctx = new InitialContext(props);
EncryptorRemote encryptor = (EncryptorRemote) ctx.lookup( EncryptorRemote encryptor = (EncryptorRemote) ctx.lookup(
"ejb:/IhrProjektname/Encryptor!encryption.EncryptorRemote"); "ejb:/demo/Encryptor!encryption.EncryptorRemote");
String original = "Hallo Welt"; String original = "Hallo Welt";
String encrypted = encryptor.encrypt(original); String encrypted = encryptor.encrypt(original);

View File

@@ -12,7 +12,7 @@ public class CounterClient {
InitialContext ctx = new InitialContext(props); InitialContext ctx = new InitialContext(props);
CounterRemote counter = (CounterRemote) ctx.lookup( CounterRemote counter = (CounterRemote) ctx.lookup(
"ejb:/IhrProjektname/Counter!counter.CounterRemote?stateful"); "ejb:/demo/Counter!counter.CounterRemote?stateful");
System.out.println(counter.getAndIncrement()); System.out.println(counter.getAndIncrement());
System.out.println(counter.getAndIncrement()); System.out.println(counter.getAndIncrement());