Top 10 JDeveloper Shortcuts

For better experience while working in Jdeveloper 11g. We should rember few of the shortcut which we can always.

These are few short cut which i use always

Find Usages — Ctrl+Alt+U
Go To Java Type — Ctrl+Minus
Go To File — Ctrl+Alt+Minus
Show Overview — Ctrl+Shift+ Back Quote
Extract Method — Ctrl+Alt+X
Introduce Variable – Ctrl+Alt+V
Run Project — F11
Debug Project — Shift+F9
Quick JavaDoc — Ctrl+D
Reformat — Ctrl+Alt+L

You can also manage shortcut in Jdevloper IDE go to Tools -> Preferences -> Shortcut Keys section in JDeveloper 11g Preferences wizard:

JDeveloper 11g default weblogic user’s password

JDeveloper 11g default weblogic user’s password
When JDeveloper 11g is installed, once you test your application in default server engine in JDev, JDeveloper will create a new domain “Default Domian” and use the default weblogic server to test the applications developed.

The defaut administrator (weblogic) password for Weblogic Server is “weblogic1”.

BTW, the default user and password is located in the boot.properties file under this folder: ../Application Data/JDeveloper/system11.1.1.1.33.53.92/DefaultDomain/servers/DefaultServer/security.

Attach sources & javadocs in maven project

Maven allows to publish project source code and javadoc with complied artifact. Maven source plugin and javadoc can do it easily for you.

Here is pom configuration for it.

Attaching source

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-source-plugin</artifactId>
  <executions>
    <execution>
      <id>attach-sources</id>
      <goals>
        <goal>jar</goal>
      </goals>
    </execution>
  </executions>
</plugin>

Maven source plugin also allows to package test source codes

Attaching test source code

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-source-plugin</artifactId>
  <executions>
    <execution>
      <id>attach-test-sources</id>
      <goals>
        <goal>test-jar</goal>
      </goals>
    </execution>
  </executions>
</plugin>

Attaching javadocs

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-javadoc-plugin</artifactId>
  <executions>
    <execution>
      <id>attach-javadocs</id>
      <goals>
        <goal>jar</goal>
      </goals>
    </execution>
  </executions>
</plugin>

you achieve it by issuing any of following maven commands

mvn package
mvn install

Please refer to maven plugin website for more information

source-plugin  http://maven.apache.org/plugins/maven-source-plugin/

javadoc-plugin http://maven.apache.org/plugins/maven-javadoc-plugin/