This week's book giveaways are in the AI and JavaScript forums.
We're giving away four copies each of GANs in Action and WebAssembly in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!

Atul Itankar

Greenhorn
+ Follow
since Jan 09, 2013
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Atul Itankar

Hi,

You can use this xml code

<session>
<ejb-name>ConfigurationBean</ejb-name>
<concurrent-method>
<method>
<method-name>get</method-name>
</method>
<lock>Read</lock>
<access-timeout>
<timeout>1000</timeout>
<unit>Milliseconds</unit>
</access-timeout>
</concurrent-method>
</session>
6 years ago
The basic thing is to use an api url prefix (i.e. /api/secured) along with an authentication entry point. It is simple and it actually works.

import org.springframework.security.core.AuthenticationException;
import org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint;

import javax.servlet.ServletException;
import javax.servlet.http.*;
import java.io.IOException;

public class AjaxAwareAuthenticationEntryPoint
extends LoginUrlAuthenticationEntryPoint {

public AjaxAwareAuthenticationEntryPoint(String loginUrl) {
super(loginUrl);
}

@Override
public void commence(
HttpServletRequest request,
HttpServletResponse response,
AuthenticationException authException)
throws IOException, ServletException {

boolean isAjax
= request.getRequestURI().startsWith("/api/secured");

if (isAjax) {
response.sendError(403, "Forbidden");
} else {
super.commence(request, response, authException);
}
}
}


Thanks
Atul Itankar

InfoCepts | www.infocepts.com
6 years ago
First You need to create a REST or SOAP Service with MS SQL Server as Backend. Then connect to this service from your application to request or upload data.
Most of the time these services accept and return XML data.


Thanks
Atul Itankar

InfoCepts | www.infocepts.com
6 years ago
Yes you can not learn two technologies at a time

Java is a big technology containing many frameworks, it would be difficult you to understand both technology at a time.

If you get basic knowledge of Java then you can try but without knowing Java it is like "A baby boy born in Hell"

Thanks
Atul Itankar

InfoCepts | www.infocepts.com
6 years ago
Hi,

In simple way we can do like this for converting string to array

public static int[] strngToArr(String str)
{
int length = str.length();
int[] array = new int[length];
for (int i = 0; i < length; i++)
{
array[i] = Integer.parseInt(str.substring(i,i+1));
}
return array;
}

But in Android we have a separate file for string objects, where all string objects are stored.
For that you need to parse xml objects one by one then convert it into array.

I will try and get back to you.

Thanks
Atul Itankar

InfoCepts | www.infocepts.com
6 years ago
Tools as in say the Eclipse IDE where you can develope apps,
There are lots of apps that can be made in java.

there are some steps to integrate andoid SDK in eclipse for that you can search.
Number of links available on internet.

Before you start creating Android application, be sure you have your development environment set up. You need to:
1. Download the Android SDK.
2. Install the ADT plugin for Eclipse (if you’ll use the Eclipse IDE).
3. Download the latest SDK tools and platforms using the SDK Manager.


Thanks
Atul Itankar

InfoCepts | www.infocepts.com
6 years ago
Following two books are very good

1. Beginning Android:
2. Android Apps for Absolute Beginners:

If you want do applications then following site will give you everything in very clear manner.
Actually this site too good for beginners


Thanks
Atul Itankar

InfoCepts | www.infocepts.com
6 years ago
Here are some links, I think which is sufficient to know about Big-Data and Hadoop

1) http://www.cs.wright.edu/~tkprasad/courses/cs707/ProgrammingHadoop.pdf

2) Hive:-
http://www.cloudera.com/wp-content/uploads/2010/01/6-IntroToHive.pdf


Thanks
Atul Itankar

InfoCepts | www.infocepts.com
6 years ago
Hi,

The URL that you are hitting gives the JAVA home where you can install and do many more things regarding JAVA.

But you said that you are getting warning which you need to ignore by just clicking on cancel button.

But this side won't give you idea about applets.



Thanks
Atul Itankar

InfoCepts | www.infocepts.com
6 years ago
There are two ways to handle this error:-
1) To add throws after method declaration like wise



2) declare this variable enclose with try and catch block

[Added code tags - see UseCodeTags for details]


Thanks
Atul Itankar

InfoCepts | www.infocepts.com
7 years ago
Answering to your second question
You can install hive on master node but you should not
as it is master node, should not use it. It doesn't make sense.


Thanks
Atul Itankar

InfoCepts | www.infocepts.com
7 years ago
here is one of the link, that you can try
https://ccp.cloudera.com/display/SUPPORT/Learn+Hadoop

Thanks
Atul Itankar

InfoCepts | www.infocepts.com
7 years ago