JavaPins - Stories tagged with J2ee
1
Pins

JVM Internals

published 331 days, 10 hours, 54 minutes ago posted by vasantvasant 361 days, 11 hours, 50 minutes ago
Wednesday, May 22, 2013 9:50:14 AM GMT Monday, April 22, 2013 8:54:07 AM GMT
This article explains the internal architecture of the Java Virtual Machine (JVM). The following diagram show the key internal components of a typical JVM that conforms to The Java Virtual Machine Specification Java SE 7 Edition. he components shown on this diagram are each explained below in two sections. First section covers the components that are created for each thread the second section covers the components that are created independently of threads. (more)
category: JAVA | clicked: 7 | comment | | source: blog.jamesdbloom.com
tags: internals, J2ee, JVM
3
Pins

Minimizing memory Leaks in your java j2ee applications | Techartifact

published 466 days, 13 hours, 53 minutes ago posted by vasantvasant 503 days, 53 minutes ago
Monday, January 07, 2013 6:50:41 AM GMT Saturday, December 01, 2012 7:51:16 PM GMT
0Minimizing memory Leaks in your java j2ee applications | TechartifactVinayapplications, J2EE, Java, Leaks, Memory, Minimizing Views: 161 views Enough of ADF.Lets talk about memory leak in java today in our application.How we can reduce it. Java’s memory managmement (i.e Garbage collectionGarbage collection -how it works) prevents lost references and dangling references but it is still possibilities to create memory leaks in other ways. If the application run with memory leaks for long duration ,you wi... (more)
category: JAVA | clicked: 32 | comment | | source: www.techartifact.com
tags: applications, J2ee, Java, Leaks, Memory, Minimizing
1
Pins

J2EE JDBC based authentication with JPA Entities in Glassfish « Development world stories

posted by anishaanisha 594 days, 1 hour, 27 minutes ago
Saturday, September 01, 2012 7:16:56 PM GMT
One of the authentication options you get in Glassfish is to store your users/roles just in database tables. This way you can implement your custom UIs and logic for managing users. Usual solution you’ll find over the web for that is to create them by hand with SQL and fill using JDBC. What I needed was to get some entities for the users so I just could start my app and everything is created by JPA. (more)
category: Java EE | clicked: 0 | comment | | source: jdevel.wordpress.com
tags: Authentication, Glassfish, J2ee, JDBC, JPA
1
Pins

What is JSESSIONID in J2EE Web application - JSP Servlet?

published 606 days, 15 hours, 12 minutes ago posted by anishaanisha 611 days, 12 hours, 39 minutes ago
Monday, August 20, 2012 5:31:33 AM GMT Wednesday, August 15, 2012 8:04:23 AM GMT
What is JSESSIONID in JSP ServletJSESSIONID is a cookie generated by Servlet container like Tomcat or Jetty and used for session management in J2EE web application for http protocol. Since HTTP is a stateless protocol there is no way for Web Server to relate two separate requests coming from same client and Session management is the process to track user session using different session management techniques like Cookies and URL Rewriting. (more)
category: Java EE | clicked: 7 | comment | | source: javarevisited.blogspot.gr
tags: J2ee, JSESSIONID, JSP servelt, web application\
1
Pins

JNDI and JPA without J2EE Container - Java Code Geeks

posted by anishaanisha 614 days, 5 hours, 47 minutes ago
Sunday, August 12, 2012 2:56:29 PM GMT
We wanted to test some JPA code with as simple setup as possible. The plan was to use only Java and Maven, without an application server or other J2EE container. (more)
category: Java EE | clicked: 0 | comment | | source: www.javacodegeeks.com
tags: container, J2ee, JNDI, JPA
1
Pins

Ajax-like J2EE security login | JavaWorld's Daily Brew

published 652 days, 3 hours, 35 minutes ago posted by tracytracy 656 days, 4 hours, 51 minutes ago
Thursday, July 05, 2012 5:08:28 PM GMT Sunday, July 01, 2012 3:52:49 PM GMT
J2EE Web security is based on the separation of content into two web contexts - protected and public. But there are lots of cases (in my experience majority of cases) when you provide the same content (e.g. a web page) but with different information displayed for different types of users. For non-authenticated (non logged-in) users you hide some sensitive info from your content, and for authenticated (logged-in) users you may choose to hide of display some data depending on their authorization (the user ... (more)
category: Ajax | clicked: 3 | comment | | source: www.javaworld.com
tags: Ajax, J2ee
1
Pins

Servlets - Session Tracking

posted by nehaguptanehagupta 669 days, 10 hours, 25 minutes ago
Monday, June 18, 2012 10:18:52 AM GMT
HTTP is a "stateless" protocol which means each time a client retrieves a Web page, the client opens a separate connection to the Web server and the server automatically does not keep any record of previous client request.Still there are following three ways to maintain session between web client and web server:(1) Cookies:A webserver can assign a unique session ID as a cookie to each web client and for subsequent requests from the client they can be recognized using the recieved cookie.This may not be a... (more)
category: Java EE | clicked: 0 | comment | | source: www.javastuff.in
tags: J2ee, Servlet, Session, tracking
1
Pins

Servlets - Cookies Handling

posted by nehaguptanehagupta 669 days, 10 hours, 27 minutes ago
Monday, June 18, 2012 10:17:11 AM GMT
Cookies are text files stored on the client computer and they are kept for various information tracking purpose. Java Servlets transparently supports HTTP cookies.There are three steps involved in identifying returning users:Server script sends a set of cookies to the browser. For example name, age, or identification number etc.Browser stores this information on local machine for future use.When next time browser sends any request to web server then it sends those cookies information to the server and se... (more)
category: Java EE | clicked: 0 | comment | | source: www.javastuff.in
tags: Cookies, handling, J2ee, Servlet
2
Pins

Servlets Interview Questions with Answers

posted by nehaguptanehagupta 669 days, 10 hours, 28 minutes ago
Monday, June 18, 2012 10:15:44 AM GMT
Servlet is server side component, a servlet is small plug gable extension to the server and servlets are used to extend the functionality of the java-enabled server. Servlets are durable objects means that they remain in memory specially instructed to be destroyed. Servlets will be loaded in theAddress space of web server.à Servlet are loaded 3 ways 1) When the web sever starts 2) You can set this in the configuration file 3) Through an administration interface. Q) What is Temporar... (more)
category: Java EE | clicked: 0 | comment | | source: www.javastuff.in
tags: answer, interview, J2ee, Question, Servlet
1
Pins

jQuery empty() and remove() example

posted by sweetxnehasweetxneha 675 days, 8 hours, 1 minute ago
Tuesday, June 12, 2012 12:42:52 PM GMT
Both jQuery empty() and remove() are used to remove the matched elements, just the former is used to remove the child of the matched elements; while the latter is used to remove all the matched elements totally.Example 2 div tags – “BBox” is a child element to “ABox”. (more)
category: Ajax | clicked: 0 | comment | | source: www.mkyong.com
tags: Empty, Empty(), example, J2ee, Remove, Remove()
1
Pins

jQuery next() example

posted by sweetxnehasweetxneha 675 days, 8 hours, 11 minutes ago
Tuesday, June 12, 2012 12:32:34 PM GMT
The next() function is used to get the immediate following sibling element in the set of matched elements. Only the following sibling’s element is select, it’s child element will be ignore. This next() function is allow to filter it by ‘selector’. For example, next(‘div’) is used to get the immediate following sibling elements that are This is paragrah 1 (more)
category: Ajax | clicked: 0 | comment | | source: www.mkyong.com
tags: Function, J2ee, Next, Next Function
1
Pins

JSF 2 PostConstructApplicationEvent and PreDestroyApplicationEvent example

posted by sweetxnehasweetxneha 676 days, 12 hours, 45 minutes ago
Monday, June 11, 2012 7:58:22 AM GMT
Since JSF 2.0, you can register javax.faces.event.PostConstructApplicationEvent and javax.faces.event.PreDestroyApplicationEvent system event to manipulate the JSF application life cycle. 1. PostConstructApplicationEvent – Perform a custom post-configuration after application has started. 2. PreDestroyApplicationEvent – Perform a custom cleanup task before application is about to be shut down.Note In JSF, you can’t depends on the standard ServletContextListeners to perform above task, because the Se... (more)
category: JSF | clicked: 1 | comment | | source: www.mkyong.com
tags: application, Event, Handler, J2ee
1
Pins

JSF 2 validateLongRange example

posted by sweetxnehasweetxneha 676 days, 12 hours, 51 minutes ago
Monday, June 11, 2012 7:53:09 AM GMT
“f:validateLongRange” is a JSF range validator tag, which is used to check the range of a numeric value. For example, When this form is submitted, the validator will make sure the “age” value is within the range from 1 to 150.“f:validateLongRange” example A JSF 2.0 example to show the use of “f:validateLongRange” tag to validate the range of a “age” input field, when the validator failed, display the error message via “h:message” tag.1. Managed Bean An user managed bean, with a “age” property.packagec... (more)
category: JSF | clicked: 1 | comment | | source: www.mkyong.com
tags: J2ee, Long range, Validate
1
Pins

JSF 2 validateRegex example

posted by sweetxnehasweetxneha 676 days, 12 hours, 53 minutes ago
Monday, June 11, 2012 7:50:45 AM GMT
“f:validateRegex” is a new validator tag in JSF 2.0, which is used to validate JSF component with a given regular expression pattern. For example, The above regex pattern is required 6 to 20 characters string with at least one digit, one upper case letter, one lower case letter and one special symbol (“@#$%”). This is strong and complex enough for a password validation, see this password validation with regular expression.“f:validateRegex” example A JSF 2.0 example to show the use of “f:validateRegex” ... (more)
category: JSF | clicked: 12 | comment | | source: www.mkyong.com
tags: J2ee, Regex, Validate
1
Pins

JAXB Basic Understanding

published 686 days, 4 hours, 48 minutes ago posted by pankajsharmapankajsharma 687 days, 2 hours, 28 minutes ago
Friday, June 01, 2012 3:55:52 PM GMT Thursday, May 31, 2012 6:16:08 PM GMT
JAXB - Java Architecture for XML Binding JAXB provides fast and easy way to bind Java Objects and XML schemas , making it easy for developers to add XML data and processing functions in Java applications. As part of this process, JAXB provides methods for unmarshalling XML instance documents into Java content trees, and then marshalling Java content trees back into XML instance documents. With JAXB you don't have to deal with or even know XML programming techniques. Moreover, you can take advantage... (more)
category: Open Source | clicked: 2 | comment | | source: technicalbrains.blogspot.com
tags: J2ee, JAXB, XML
1
Pins

Version 2 of " HTML5 for the Java Developer " session - J2ee Video Tutorial | JAVA EE Video Training | JAVA EE Video Programming | Free JEE Lessons

published 719 days, 17 hours, 8 minutes ago posted by DayssamDayssam 723 days, 5 hours, 53 minutes ago
Sunday, April 29, 2012 3:36:13 AM GMT Wednesday, April 25, 2012 2:50:37 PM GMT
Version 2 of " HTML5 for the Java Developer " session http://www.j2eevideotutorial.com/2012/04/version-2-of-html5-for-java-developer.html This is a Video Tutorial explains HTML5 for the Java Developer session This is a more updated version of the HTML5 session from Sept 21, 2011 Presenter: Burr Sutter, Sr. Product Manager, Developer Experience/Tools De... (more)
category: JAVA | clicked: 3 | comment | | source: www.j2eevideotutorial.com
tags: HTML 5, html5, J2ee, j2ee 6, Java
1
Pins

Transaction management under J2EE 1.2 - JavaWorld

published 764 days, 13 hours, 8 minutes ago posted by vinaykumarvinaykumar 767 days, 6 hours, 42 minutes ago
Thursday, March 15, 2012 7:35:52 AM GMT Monday, March 12, 2012 2:02:14 PM GMT
Java Standard EditionJW's Most Read Top 5Practical JavaFX, Part 1: Architecture of a Swing-based notepadUser hacks GitHub to showcase vulnerabilityIntroduction to nested classes in JavaSpring developers get Hadoop integrationUseful lesser known Java classesFeatured White PapersWeb app "Down for Maintenance"? Never again!Newsletter sign-up View all newsletters Enterprise Java Newsletter Stay up to date on the latest tutorials and Java community news posted on JavaWorld Sponsored Links ... (more)
category: Java EE | clicked: 1 | comment | | source: www.javaworld.com
tags: J2ee, management, Transaction
1
Pins

Development Island - Using JDBC With Servlets

posted by vasantvasant 786 days, 17 hours, 20 minutes ago
Wednesday, February 22, 2012 3:23:56 AM GMT
his page gives brief details how to access your database via a servlet using JDBC. Note that connection details do not need to be supplied as your datasource as been preconfigured. Datasources are available by using the JNDI name of "java:comp/env/jdbc/dbusername" where username should be replaced with your account name. Please note that Postgres users should use the JNDI name of "java:comp/env/jdbc/pgdbusername" instead. Next is example servlet code showing the connecting to a database and submition of... (more)
category: Java EE | clicked: 0 | comment | | source: www.devisland.net
tags: J2ee, JDBC, Servlet
3
Pins

Short Definitions for all Design Patterns ~ Java Stuff

published 785 days, 14 hours, 40 minutes ago posted by javastuffjavastuff 796 days, 16 hours, 43 minutes ago
Thursday, February 23, 2012 6:03:52 AM GMT Sunday, February 12, 2012 4:01:07 AM GMT
What is a design pattern a practical, proven solution to a recurring design problem Creational  Structural Behavioral Creational patterns are ones that create objects for you, rather than having you instantiate objects directly Structural patterns help you compose groups of objects into larger structures Behavioral patterns help you define the communication between objects in your system and how the flow is controlled in a complex program. Creational Patterns Types Factory... (more)
category: Java EE | clicked: 16 | comment | | source: www.javastuff.in
tags: core java, Desin pattern, J2ee
3
Pins

Apache Velocity Engine

published 775 days, 28 minutes ago posted by groupusersgroupusers 798 days, 23 hours, 25 minutes ago
Sunday, March 04, 2012 8:16:07 PM GMT Thursday, February 09, 2012 9:19:01 PM GMT
The Apache Velocity Engine is a free open-source templating engine. Velocity permits you to use a simple yet powerful template language to reference objects defined in Java code. It is written in 100% pure Java and can be easily embedded into your own applications. The Velocity engine includes a number of predefined tasks for easy integration into Apache Ant. VelocityView provides support for rapidly and cleanly building web applications using Veloc... (more)
category: JAVA | clicked: 15 | comment | | source: javamazon.com
tags: apache, J2ee, Java, velocity
Previous 1 2 Next