Git command Flow: Setup: git config --global user.name “[firstname lastname]” set a name that is identifiable for credit when review version history git config --global user.email “[valid-email]” set an email address that will be associated with each history marker git config --system core.longpaths true Git has a limit of 4096 characters for a filename, except on Windows when Git is compiled with msys. It uses an older version of the Windows API and there's a limit of 260 characters for a filename. So as far as I understand this, it's a limitation of msys and not of Git. You can read the details here: https://github.com/msysgit/git/pull/110 Setup & Init: git init Initialize an existing directory as a Git repository git clone <repository_url> retrieve an entire repository from a hosted location via URL git clone <URL...
ORM (Object Relational Mapping): - Process of mapping a Java class to Database tables . - Developers can deal with Objects instead of writing SQLs. JPA (Java Persistence API) : - Its a standard from Oracle to perform ORM in Java EE applications. - JPA comes with Specification & API Specification -> For JPA Vendors/Providers like Hibernate, Open JPA , Eclipse Link and etc.. API -> For developers Why JPA: Before JPA, we have to learn each ORM tool like Hibernate / Open JPA and etc depends on the ORM we used in our application. Now, we can learn one single API (JPA). All the vendors/Providers implements JPA. So, we can switch from one vendor to another without making any code change in our application, JPA API : Two important classes: EntityManagerFactory EntityManager Spring Data will hide these APIs, we need not d...
D esign patterns are programming language independent strategies for solving the common object-oriented design problems. That means a design pattern represents an idea, not a particular implementation. By using the design patterns you can make your code more flexible, reusable, and maintainable. It is the most important part because java internally follows design patterns. Categorization of design patterns: Basically, design patterns are categorized into two parts: Core Java (or JSE) Design Patterns. JEE Design Patterns. Core Java Design Patterns In core java, there are mainly three types of design patterns, which are further divided into their sub-parts: 1.Creational Design Pattern Factory Pattern Abstract Factory Pattern Singleton Pattern Prototype Pattern Builder Pattern. 2. Structural Design Pattern Adapter Pattern Bridge Pattern Composite Pattern Decorator Pattern Facade Pattern Flyweight Pattern Proxy Pattern 3. Behavioral Design Pattern Chain Of Responsibility Pattern Command Pa...
Comments
Post a Comment