Software Developer

View Tcpdump data in wireshark - INTEGU

How-to: View TcpDump data in Wireshark

How-to: View TcpDump data in Wireshark Introduction The objective of this guide is to inform the reader on how to view data collected with “tcpdump”-command (CLI-interface) in a Wireshark GUI-interface. This is an extremely useful utility for getting the overview of the traffic on a node which does not have a GUI which support Wireshark. …

How-to: View TcpDump data in Wireshark Read More »

INTEGU-java-best-practices-85-Avoid-serialization

Serialization

Avoid Java serialization if possible

Serialization was intended as a utility within the Java language, which allows objects to be converted into bytes (serialized), send to another endpoint, and reconstructed as an object again (deserialized). This is necessary since java objects only exists within the JVM and can therefore not be send directly.

INTEGU-java-best-practices-84-thread-schedulers

Concurrency

78. Use Synchronize When Handling Mutable Methods
When working with threads, synchronize on mutable methods becomes a valuable resource. This is because of two reasons:

Synchronize ensure the method can only be accessed by one thread at a time. Any thread attempting to execute the method while it is already in use, will be put on hold until the method is available again.
Because the threads are set to wait for each other, synchronize also guarantee that each thread will be able to see changes to the mutable method made by previous threads.
A mutable method could for example be a method providing an incremental serial number based on a field instance.

INTEGU-java-best-practices-85-Avoid-serialization

Exceptions

Exceptions only for exceptional scenarios

Exceptions are a way of causing the system to quickly alert the system of some unexpected scenario. However, some people might start using exceptions as a functionality of the system and start relying on the to convey acceptable scenarios.

Scroll to Top
INTEGU - Cookie-consent

INTEGU uses cookies to personalize your experience and provide traceability for affiliate links. By using the website, you agree to these terms and conditions. To learn more see the privacy policy page.